changeset 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 4971193f761d
children d09cb56dcbea
files plugins/perl/perl.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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