diff -r ca2132ad085e -r 782f61a0d052 plugins/perl/perl.c --- 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 +# ifdef HAVE_LIMITS_H +# include +# ifndef NAME_MAX +# define NAME_MAX _POSIX_NAME_MAX +# endif +# endif #endif #ifdef DEBUG