]> git.wh0rd.org - sysvinit.git/commitdiff
Adjust more included headers to be compatible with the musl C
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 28 Jan 2014 22:07:30 +0000 (22:07 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 28 Jan 2014 22:07:30 +0000 (22:07 +0000)
library.  Patch from Matias A. Fonzo and Dragora.

git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@139 456724a4-4300-0410-8514-c89748c515a2

src/consoles.c
src/last.c
src/wall.c

index 7b3be9b141100d5875f8d95d8377509e65cf625e..2a28f0f38a29c26b727ace9e88f3fc6676b32610 100644 (file)
@@ -28,6 +28,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#include <sys/ttydefaults.h>
 #ifdef __linux__
 #  include <sys/vt.h>
 #  include <sys/kd.h>
index b5f77ab7d0205bf1a5fbbddd00597c096c457e56..dba5d4ac7d0bf8a7361439c2fd24d0a83fdfe24e 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 #include <time.h>
 #include <stdio.h>
 #include <ctype.h>
index e480eee651daaf44b8b905366b3064cb5b657e79..3b27906e045d05d5389dd4a3ba6a38f324e40906 100644 (file)
@@ -29,6 +29,7 @@
 #include <unistd.h>
 #include <pwd.h>
 #include <syslog.h>
+#include <sys/types.h>
 #include "init.h"