Adjust 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-26 22:00:42 +00:00
parent 2d0b513b8a
commit f11cdf9554
3 changed files with 4 additions and 1 deletions

View File

@@ -26,11 +26,11 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@cistron.nl";
#include <unistd.h>
#include <time.h>
#include <string.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/errno.h>
#include <net/if.h>
#include <netinet/in.h>

View File

@@ -49,6 +49,7 @@
#include <utmp.h>
#include <ctype.h>
#include <stdarg.h>
#include <sys/ttydefaults.h>
#include <sys/syslog.h>
#include <sys/time.h>