diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-28 14:34:55 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-28 14:34:55 +0000 |
commit | 42349810269b8e88e293ca8808c45e8367302d69 (patch) | |
tree | 7b9ce4e7649175e053d55a2feb063b3664fcc854 /main/dhcpcd/fix-includes.patch | |
parent | 448c51ff5279c72a2f9c7381d724540537f1ffd4 (diff) | |
download | aports-42349810269b8e88e293ca8808c45e8367302d69.tar.bz2 aports-42349810269b8e88e293ca8808c45e8367302d69.tar.xz |
main/dhcpcd: fix musl build
Diffstat (limited to 'main/dhcpcd/fix-includes.patch')
-rw-r--r-- | main/dhcpcd/fix-includes.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/main/dhcpcd/fix-includes.patch b/main/dhcpcd/fix-includes.patch new file mode 100644 index 0000000000..602825d4f6 --- /dev/null +++ b/main/dhcpcd/fix-includes.patch @@ -0,0 +1,48 @@ +--- dhcpcd-6.1.0.orig/common.c ++++ dhcpcd-6.1.0/common.c +@@ -30,8 +30,6 @@ + # define _GNU_SOURCE + #endif + +-#include <sys/cdefs.h> +- + #ifdef __APPLE__ + # include <mach/mach_time.h> + # include <mach/kern_return.h> +--- dhcpcd-6.1.0.orig/dhcp6.c ++++ dhcpcd-6.1.0/dhcp6.c +@@ -31,10 +31,6 @@ + #include <sys/utsname.h> + + #include <netinet/in.h> +-#ifdef __linux__ +-# define _LINUX_IN6_H +-# include <linux/ipv6.h> +-#endif + + #include <ctype.h> + #include <errno.h> +--- dhcpcd-6.1.0.orig/dhcpcd.c ++++ dhcpcd-6.1.0/dhcpcd.c +@@ -48,6 +48,7 @@ + #include <string.h> + #include <syslog.h> + #include <unistd.h> ++#include <fcntl.h> + #include <time.h> + + #include "arp.h" +--- dhcpcd-6.1.0.orig/ipv6nd.c ++++ dhcpcd-6.1.0/ipv6nd.c +@@ -33,11 +33,6 @@ + #include <netinet/ip6.h> + #include <netinet/icmp6.h> + +-#ifdef __linux__ +-# define _LINUX_IN6_H +-# include <linux/ipv6.h> +-#endif +- + #include <errno.h> + #include <stddef.h> + #include <stdlib.h> |