rcS: add missing fcntl.h include
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 29 May 2017 21:39:53 +0000 (23:39 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 20 Jun 2017 14:48:43 +0000 (16:48 +0200)
Fixes: d42b21ed9305 "procd/rcS: Use /dev/null as stdin"

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
rcS.c

diff --git a/rcS.c b/rcS.c
index 913fc9a5f5b243702f692040df0c9239ef19169d..4ecf0c10d7da1392c905717c2f15906ea6f5fe6e 100644 (file)
--- a/rcS.c
+++ b/rcS.c
@@ -24,6 +24,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <fcntl.h>
 #include <glob.h>
 
 #include <libubox/ustream.h>