aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port/linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index c5d58489ba1..d4da17da45c 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -1,3 +1,9 @@
+/* Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
+
#if defined(__i386__)
typedef unsigned char slock_t;