Adjust more included headers to be compatible with the musl C

library.  Patch from Matias A. Fonzo and Dragora.
This commit is contained in:
Petter Reinholdtsen 2014-01-28 22:07:30 +00:00
parent 834bcebcaf
commit 5421d713ae
3 changed files with 3 additions and 1 deletions

View 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>

View 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>

View File

@ -29,6 +29,7 @@
#include <unistd.h>
#include <pwd.h>
#include <syslog.h>
#include <sys/types.h>
#include "init.h"