Adjust included headers to be compatible with the musl C library. Patch from Matias A. Fonzo and Dragora.
This commit is contained in:
parent
2d0b513b8a
commit
f11cdf9554
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user