Mercurial > pidgin.yaz
diff plugins/perl/perl.c @ 8138:3e8592b95f68
[gaim-migrate @ 8844]
Committing a perl portability patch from Philip Brown
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 18 Jan 2004 04:47:04 +0000 |
parents | 4396d1088273 |
children | 92cbf9713795 |
line wrap: on
line diff
--- a/plugins/perl/perl.c Sun Jan 18 03:51:40 2004 +0000 +++ b/plugins/perl/perl.c Sun Jan 18 04:47:04 2004 +0000 @@ -19,6 +19,12 @@ */ #ifdef HAVE_CONFIG_H #include <config.h> +# ifdef HAVE_LIMITS_H +# include <limits.h> +# ifndef NAME_MAX +# define NAME_MAX _POSIX_NAME_MAX +# endif +# endif #endif #ifdef DEBUG