summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/modules/perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto/modules/perl b/auto/modules/perl
index 35d4f5fb..bf6fe6f0 100644
--- a/auto/modules/perl
+++ b/auto/modules/perl
@@ -78,6 +78,7 @@ if /bin/sh -c "$NXT_PERL -MConfig -e 'print \"Perl version: \",
nxt_feature_incs="${NXT_PERL_INCLUDE}"
nxt_feature_libs="${NXT_PERL_LIBS}"
nxt_feature_test="
+ #define _GNU_SOURCE
#include <EXTERN.h>
#include <perl.h>
@@ -124,6 +125,7 @@ nxt_feature_run=value
nxt_feature_incs="${NXT_PERL_INCLUDE}"
nxt_feature_libs="${NXT_PERL_LIBS}"
nxt_feature_test="
+ #define _GNU_SOURCE
#include <EXTERN.h>
#include <perl.h>