summaryrefslogtreecommitdiff
path: root/src/conn-tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 01:47:08 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 01:47:08 +0000
commite3e3d8c29464429990d695b83dead18866a1baf2 (patch)
tree207ab1f01fd3687939bd2a915b72c123175d5aef /src/conn-tools
parent964144b5207efc540c68aa1ae2b74626f3d59ac6 (diff)
downloads6-networking-e3e3d8c29464429990d695b83dead18866a1baf2.tar.xz
Because BSDs can't understand setgroups... -> nonposix
Diffstat (limited to 'src/conn-tools')
-rw-r--r--src/conn-tools/s6-ipcserver.c5
-rw-r--r--src/conn-tools/s6-tcpserver4.c5
-rw-r--r--src/conn-tools/s6-tcpserver6.c5
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>