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

@ -59,6 +59,8 @@ sysvinit (2.89dsf) UNRELEASED; urgency=low
* Try harder to find libcrypt.*, even if there is no static library
available. Also look in /usr/lib/*/ for the library, to handle
Debian multiarch systems. Based on patch from Andrew Gregory.
* Adjust included headers to be compatible with the musl C
library. Patch from Matias A. Fonzo and Dragora.
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010

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>