summaryrefslogtreecommitdiffstats
path: root/main/iputils/net-misc_iputils_files_iputils-20121221-fix-musl-headers.patch
blob: d12dd828c1de02a94eb85e8e0d284abc366c3c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
diff -Naur iputils-s20121221.orig/arping.c iputils-s20121221/arping.c
--- iputils-s20121221.orig/arping.c	2012-12-21 14:01:07.000000000 +0000
+++ iputils-s20121221/arping.c	2014-01-23 21:19:57.091268011 +0000
@@ -16,7 +16,7 @@
 #include <linux/sockios.h>
 #include <sys/file.h>
 #include <sys/time.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <linux/if_packet.h>
--- iputils-s20121221.orig/clockdiff.c	2012-12-21 14:01:07.000000000 +0000
+++ iputils-s20121221/clockdiff.c	2014-01-23 21:19:57.093268011 +0000
@@ -14,7 +14,6 @@
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>
 #define TSPTYPES
-#include <protocols/timed.h>
 #include <fcntl.h>
 #include <netdb.h>
 #include <arpa/inet.h>
diff -Naur iputils-s20121221.orig/ping_common.h iputils-s20121221/ping_common.h
--- iputils-s20121221.orig/ping_common.h	2012-12-21 14:01:07.000000000 +0000
+++ iputils-s20121221/ping_common.h	2014-01-23 21:27:07.677292088 +0000
@@ -7,16 +7,17 @@
 #include <linux/sockios.h>
 #include <sys/file.h>
 #include <sys/time.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <sys/uio.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <ctype.h>
 #include <errno.h>
 #include <string.h>
 #include <netdb.h>
 #include <setjmp.h>
+#include <asm-generic/param.h>
 
 #ifdef CAPABILITIES
 #include <sys/prctl.h>
--- iputils-s20121221.orig/rarpd.c	2014-01-24 13:38:46.816551953 +0000
+++ iputils-s20121221/rarpd.c	2014-01-24 13:36:51.833545524 +0000
@@ -19,16 +19,17 @@
 #include <netdb.h>
 #include <arpa/inet.h>
 #include <sys/ioctl.h>
-#include <sys/poll.h>
-#include <sys/errno.h>
-#include <sys/fcntl.h>
+#include <poll.h>
+#include <errno.h>
+#include <fcntl.h>
 #include <sys/socket.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <linux/if.h>
 #include <linux/if_arp.h>
 #include <netinet/in.h>
 #include <linux/if_packet.h>
 #include <linux/filter.h>
+#include <sys/types.h>
 
 int do_reload = 1;
 
--- iputils-s20121221.orig/tracepath.c	2014-01-24 13:38:46.865551956 +0000
+++ iputils-s20121221/tracepath.c	2014-01-23 21:19:57.109268012 +0000
@@ -23,6 +23,7 @@
 #include <sys/time.h>
 #include <sys/uio.h>
 #include <arpa/inet.h>
+#include <limits.h>
 #ifdef USE_IDN
 #include <idna.h>
 #include <locale.h>
--- iputils-s20121221.orig/tracepath6.c	2014-01-24 13:38:46.865551956 +0000
+++ iputils-s20121221/tracepath6.c	2014-01-23 21:20:40.316270428 +0000
@@ -25,6 +25,7 @@
 #include <sys/time.h>
 #include <sys/uio.h>
 #include <arpa/inet.h>
+#include <limits.h>
 
 #ifdef USE_IDN
 #include <idna.h>