summaryrefslogtreecommitdiff
path: root/data/inetutils/netinet.diff
blob: eb20fe75af7c72fec2dba8cd73df745dc8dd3d26 (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
diff -ru inetutils-1.6/ping/ping_address.c inetutils-1.6+iPhone/ping/ping_address.c
--- inetutils-1.6/ping/ping_address.c	2008-10-14 17:40:30.000000000 +0000
+++ inetutils-1.6+iPhone/ping/ping_address.c	2009-04-10 23:08:10.000000000 +0000
@@ -30,6 +30,7 @@
 
 /*#include <netinet/ip_icmp.h>  -- deliberately not including this */
 #ifdef HAVE_NETINET_IP_VAR_H
+# include <netinet/in.h>
 # include <netinet/ip_var.h>
 #endif
 
diff -ru inetutils-1.6/ping/ping.c inetutils-1.6+iPhone/ping/ping.c
--- inetutils-1.6/ping/ping.c	2008-12-27 21:11:02.000000000 +0000
+++ inetutils-1.6+iPhone/ping/ping.c	2009-04-10 23:08:14.000000000 +0000
@@ -32,6 +32,7 @@
 
 /*#include <netinet/ip_icmp.h>  -- deliberately not including this */
 #ifdef HAVE_NETINET_IP_VAR_H
+# include <netinet/in.h>
 # include <netinet/ip_var.h>
 #endif
 
diff -ru inetutils-1.6/ping/ping_echo.c inetutils-1.6+iPhone/ping/ping_echo.c
--- inetutils-1.6/ping/ping_echo.c	2008-12-27 16:21:00.000000000 +0000
+++ inetutils-1.6+iPhone/ping/ping_echo.c	2009-04-10 23:08:17.000000000 +0000
@@ -29,6 +29,7 @@
 
 /*#include <netinet/ip_icmp.h>  -- deliberately not including this */
 #ifdef HAVE_NETINET_IP_VAR_H
+# include <netinet/in.h>
 # include <netinet/ip_var.h>
 #endif
 
diff -ru inetutils-1.6/ping/ping_router.c inetutils-1.6+iPhone/ping/ping_router.c
--- inetutils-1.6/ping/ping_router.c	2008-10-14 17:40:30.000000000 +0000
+++ inetutils-1.6+iPhone/ping/ping_router.c	2009-04-10 23:08:20.000000000 +0000
@@ -29,6 +29,7 @@
 
 /*#include <netinet/ip_icmp.h>  -- deliberately not including this */
 #ifdef HAVE_NETINET_IP_VAR_H
+# include <netinet/in.h>
 # include <netinet/ip_var.h>
 #endif
 
diff -ru inetutils-1.6/ping/ping_timestamp.c inetutils-1.6+iPhone/ping/ping_timestamp.c
--- inetutils-1.6/ping/ping_timestamp.c	2008-10-14 17:40:30.000000000 +0000
+++ inetutils-1.6+iPhone/ping/ping_timestamp.c	2009-04-10 23:08:02.000000000 +0000
@@ -29,6 +29,7 @@
 
 /*#include <netinet/ip_icmp.h>  -- deliberately not including this */
 #ifdef HAVE_NETINET_IP_VAR_H
+# include <netinet/in.h>
 # include <netinet/ip_var.h>
 #endif