summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sd-daemon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sd-daemon.c b/src/sd-daemon.c
index e68b70875c..763e079b4e 100644
--- a/src/sd-daemon.c
+++ b/src/sd-daemon.c
@@ -32,7 +32,11 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
+#ifdef __BIONIC__
+#include <linux/fcntl.h>
+#else
#include <sys/fcntl.h>
+#endif
#include <netinet/in.h>
#include <stdlib.h>
#include <errno.h>