diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-16 01:47:08 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-16 01:47:08 +0000 |
commit | e3e3d8c29464429990d695b83dead18866a1baf2 (patch) | |
tree | 207ab1f01fd3687939bd2a915b72c123175d5aef | |
parent | 964144b5207efc540c68aa1ae2b74626f3d59ac6 (diff) | |
download | s6-networking-e3e3d8c29464429990d695b83dead18866a1baf2.tar.xz |
Because BSDs can't understand setgroups... -> nonposix
-rw-r--r-- | src/conn-tools/s6-ipcserver.c | 5 | ||||
-rw-r--r-- | src/conn-tools/s6-tcpserver4.c | 5 | ||||
-rw-r--r-- | src/conn-tools/s6-tcpserver6.c | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/src/conn-tools/s6-ipcserver.c b/src/conn-tools/s6-ipcserver.c index edee033..5ff85c8 100644 --- a/src/conn-tools/s6-ipcserver.c +++ b/src/conn-tools/s6-ipcserver.c @@ -1,9 +1,6 @@ /* ISC license. */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/nonposix.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> diff --git a/src/conn-tools/s6-tcpserver4.c b/src/conn-tools/s6-tcpserver4.c index 5435f55..6864f00 100644 --- a/src/conn-tools/s6-tcpserver4.c +++ b/src/conn-tools/s6-tcpserver4.c @@ -1,9 +1,6 @@ /* ISC license. */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/nonposix.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> diff --git a/src/conn-tools/s6-tcpserver6.c b/src/conn-tools/s6-tcpserver6.c index 9b27f42..624bc99 100644 --- a/src/conn-tools/s6-tcpserver6.c +++ b/src/conn-tools/s6-tcpserver6.c @@ -1,9 +1,6 @@ /* ISC license. */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/nonposix.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> |