summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-13 09:06:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-13 09:06:45 +0000
commit7e47421ccb19028e698285260eddf8083e153fef (patch)
treef4accd05f00baae9dc628d917a8c77daea546671
parent24d4e50eca03385c0f4b45f51092f4a5b4ccd0c1 (diff)
downloads6-rc-7e47421ccb19028e698285260eddf8083e153fef.tar.xz
Tentative workaround for n+1th BSD braindeadness
-rw-r--r--src/s6-rc/s6-rc-compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c
index 2e72bb9..a5a4e7e 100644
--- a/src/s6-rc/s6-rc-compile.c
+++ b/src/s6-rc/s6-rc-compile.c
@@ -1,5 +1,8 @@
/* ISC license. */
+/* for fdopendir() on BSD. Fuck you, BSD. */
+#include <skalibs/nonposix.h>
+
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>