Adjust included headers to be compatible with the musl C library. Patch from Matias...
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 26 Jan 2014 22:00:42 +0000 (22:00 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 26 Jan 2014 22:00:42 +0000 (22:00 +0000)
git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@135 456724a4-4300-0410-8514-c89748c515a2

doc/Changelog
src/ifdown.c
src/init.c

index faae011d607be7b81fc977c921534af494811e03..5bbc7af4049214454c57cadfb4a7b7f5bfe3068a 100644 (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
 
index 3048a359a0fc2779a2b78e3ed286d3a7c3c96797..a2b3bc5da70cc41239b9fa7be61e06410f2695e8 100644 (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>
index 3b2447069ad00380c7d2d4fcb7570b3bd9bc5f26..8c236fc849dd3efd57d516a7e09d16544e581f51 100644 (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>