summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>