summaryrefslogtreecommitdiffhomepage
path: root/src/perl
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-09-20 16:34:19 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-09-20 16:34:19 +0300
commite4650b741291cce8269e9ee10484c79be101edcd (patch)
treebc386f424ee16aa9607ddc84886cf276bbde27fb /src/perl
parent9fe6e75d355266024f67a5611120c3c97557be14 (diff)
downloadunit-e4650b741291cce8269e9ee10484c79be101edcd.tar.gz
unit-e4650b741291cce8269e9ee10484c79be101edcd.tar.bz2
Fixed building perl on Alpine Linux.
_GNU_SOURCE is required there to expose off64_t and other types.
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/nxt_perl_psgi_layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/perl/nxt_perl_psgi_layer.h b/src/perl/nxt_perl_psgi_layer.h
index 3fa349c0..561d5153 100644
--- a/src/perl/nxt_perl_psgi_layer.h
+++ b/src/perl/nxt_perl_psgi_layer.h
@@ -8,6 +8,7 @@
#define _NXT_PERL_PSGI_LAYER_H_INCLUDED_
+#define _GNU_SOURCE
#include <EXTERN.h>
#include <XSUB.h>
#include <perl.h>