From e4650b741291cce8269e9ee10484c79be101edcd Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 20 Sep 2018 16:34:19 +0300 Subject: Fixed building perl on Alpine Linux. _GNU_SOURCE is required there to expose off64_t and other types. --- auto/modules/perl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'auto/modules/perl') 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 #include @@ -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 #include -- cgit