diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-15 15:04:25 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-15 15:04:25 +0000 |
commit | 21bf9df13cad0da20ecd9fadfa54cd16479238aa (patch) | |
tree | 463a70a01e82f731fa31d60023778d078a0d7269 /src/libstddjb | |
parent | 6d2c28acaa0c11841ca57ffe2b07e34c91cdea9e (diff) | |
download | skalibs-21bf9df13cad0da20ecd9fadfa54cd16479238aa.tar.xz |
Better pipe2 detection on BSD systems
Diffstat (limited to 'src/libstddjb')
-rw-r--r-- | src/libstddjb/pipe_internal.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libstddjb/pipe_internal.c b/src/libstddjb/pipe_internal.c index a1e8a8f..48f182a 100644 --- a/src/libstddjb/pipe_internal.c +++ b/src/libstddjb/pipe_internal.c @@ -4,14 +4,7 @@ #ifdef SKALIBS_HASPIPE2 -#ifndef _NETBSD_SOURCE -#define _NETBSD_SOURCE -#endif - -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - +#include <skalibs/nonposix.h> #include <unistd.h> #include <fcntl.h> #include <skalibs/djbunix.h> |