Fixed building perl on Alpine Linux.

_GNU_SOURCE is required there to expose off64_t and other types.
This commit is contained in:
Sergey Kandaurov
2018-09-20 16:34:19 +03:00
parent 9fe6e75d35
commit e4650b7412
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#define _NXT_PERL_PSGI_LAYER_H_INCLUDED_
#define _GNU_SOURCE
#include <EXTERN.h>
#include <XSUB.h>
#include <perl.h>