aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-27 21:42:58 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-27 21:42:58 +0000
commit6a0c588bf35d45f27feb0b18c7e97bb038df4d63 (patch)
treea3aff515a2f06bf72c2fb9fbf1e6e5bee60ad2f4 /networking
parentd40b24b9afb1d7223d8042e72d27e5b9a5271177 (diff)
downloadbusybox-w32-6a0c588bf35d45f27feb0b18c7e97bb038df4d63.tar.gz
busybox-w32-6a0c588bf35d45f27feb0b18c7e97bb038df4d63.tar.bz2
busybox-w32-6a0c588bf35d45f27feb0b18c7e97bb038df4d63.zip
Consolidate #include <sys/time.h> so libbb.h does it.
git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/arping.c1
-rw-r--r--networking/fakeidentd.c1
-rw-r--r--networking/ftpgetput.c1
-rw-r--r--networking/httpd.c1
-rw-r--r--networking/inetd.c1
-rw-r--r--networking/nc.c1
-rw-r--r--networking/ping.c1
-rw-r--r--networking/ping6.c1
-rw-r--r--networking/telnet.c7
-rw-r--r--networking/telnetd.c1
-rw-r--r--networking/tftp.c1
-rw-r--r--networking/traceroute.c1
-rw-r--r--networking/udhcp/arpping.c1
-rw-r--r--networking/udhcp/dhcpc.c1
-rw-r--r--networking/udhcp/dhcpd.c1
-rw-r--r--networking/wget.c1
-rw-r--r--networking/zcip.c1
17 files changed, 0 insertions, 23 deletions
diff --git a/networking/arping.c b/networking/arping.c
index 303e49935..e12fa508b 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -10,7 +10,6 @@
10 10
11#include <sys/ioctl.h> 11#include <sys/ioctl.h>
12#include <signal.h> 12#include <signal.h>
13#include <sys/time.h>
14 13
15#include <errno.h> 14#include <errno.h>
16#include <stdlib.h> 15#include <stdlib.h>
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c
index cae6b8138..d3aa3ce5d 100644
--- a/networking/fakeidentd.c
+++ b/networking/fakeidentd.c
@@ -23,7 +23,6 @@
23 23
24#include <sys/syslog.h> 24#include <sys/syslog.h>
25#include <sys/types.h> 25#include <sys/types.h>
26#include <sys/time.h>
27#include <time.h> 26#include <time.h>
28#include <sys/socket.h> 27#include <sys/socket.h>
29#include <netinet/in.h> 28#include <netinet/in.h>
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index a401ec50a..48b18b536 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -15,7 +15,6 @@
15 15
16#include <sys/types.h> 16#include <sys/types.h>
17#include <sys/ioctl.h> 17#include <sys/ioctl.h>
18#include <sys/time.h>
19#include <sys/stat.h> 18#include <sys/stat.h>
20 19
21#include <ctype.h> 20#include <ctype.h>
diff --git a/networking/httpd.c b/networking/httpd.c
index 1d8c893f2..4cd09448c 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -99,7 +99,6 @@
99#include <sys/types.h> 99#include <sys/types.h>
100#include <sys/socket.h> /* for connect and socket*/ 100#include <sys/socket.h> /* for connect and socket*/
101#include <netinet/in.h> /* for sockaddr_in */ 101#include <netinet/in.h> /* for sockaddr_in */
102#include <sys/time.h>
103#include <sys/stat.h> 102#include <sys/stat.h>
104#include <sys/wait.h> 103#include <sys/wait.h>
105#include <fcntl.h> /* for open modes */ 104#include <fcntl.h> /* for open modes */
diff --git a/networking/inetd.c b/networking/inetd.c
index 39a2b24cb..3ecd32292 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -134,7 +134,6 @@
134#include <sys/un.h> 134#include <sys/un.h>
135#include <sys/file.h> 135#include <sys/file.h>
136#include <sys/wait.h> 136#include <sys/wait.h>
137#include <sys/time.h>
138#include <sys/resource.h> 137#include <sys/resource.h>
139 138
140 139
diff --git a/networking/nc.c b/networking/nc.c
index 637e97572..24f1aa5a5 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -24,7 +24,6 @@
24#include <netinet/in.h> 24#include <netinet/in.h>
25#include <arpa/inet.h> 25#include <arpa/inet.h>
26#include <netdb.h> 26#include <netdb.h>
27#include <sys/time.h>
28#include <sys/ioctl.h> 27#include <sys/ioctl.h>
29#include "busybox.h" 28#include "busybox.h"
30 29
diff --git a/networking/ping.c b/networking/ping.c
index 7fe52ab39..d9d76bf34 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -15,7 +15,6 @@
15#include <sys/param.h> 15#include <sys/param.h>
16#include <sys/socket.h> 16#include <sys/socket.h>
17#include <sys/file.h> 17#include <sys/file.h>
18#include <sys/time.h>
19#include <sys/times.h> 18#include <sys/times.h>
20#include <signal.h> 19#include <signal.h>
21 20
diff --git a/networking/ping6.c b/networking/ping6.c
index 3f632e060..1cff59d4b 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -37,7 +37,6 @@
37#include <sys/param.h> 37#include <sys/param.h>
38#include <sys/socket.h> 38#include <sys/socket.h>
39#include <sys/file.h> 39#include <sys/file.h>
40#include <sys/time.h>
41#include <sys/times.h> 40#include <sys/times.h>
42#include <signal.h> 41#include <signal.h>
43 42
diff --git a/networking/telnet.c b/networking/telnet.c
index b3045f878..c835c7a45 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -45,13 +45,6 @@ enum { DOTRACE = 1 };
45#define TRACE(x, y) 45#define TRACE(x, y)
46#endif 46#endif
47 47
48#if 0
49#define USE_POLL
50#include <sys/poll.h>
51#else
52#include <sys/time.h>
53#endif
54
55#define DATABUFSIZE 128 48#define DATABUFSIZE 128
56#define IACBUFSIZE 128 49#define IACBUFSIZE 128
57 50
diff --git a/networking/telnetd.c b/networking/telnetd.c
index d51560bfb..5a11ffb8c 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -24,7 +24,6 @@
24/*#define DEBUG 1 */ 24/*#define DEBUG 1 */
25#undef DEBUG 25#undef DEBUG
26 26
27#include <sys/time.h>
28#include <sys/socket.h> 27#include <sys/socket.h>
29#include <sys/wait.h> 28#include <sys/wait.h>
30#include <sys/ioctl.h> 29#include <sys/ioctl.h>
diff --git a/networking/tftp.c b/networking/tftp.c
index b830f18a5..bdba16727 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -24,7 +24,6 @@
24#include <string.h> 24#include <string.h>
25#include <sys/types.h> 25#include <sys/types.h>
26#include <sys/socket.h> 26#include <sys/socket.h>
27#include <sys/time.h>
28#include <sys/stat.h> 27#include <sys/stat.h>
29#include <netdb.h> 28#include <netdb.h>
30#include <netinet/in.h> 29#include <netinet/in.h>
diff --git a/networking/traceroute.c b/networking/traceroute.c
index e0f17a57f..190f19ddc 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -218,7 +218,6 @@
218#include <sys/file.h> 218#include <sys/file.h>
219#include <sys/ioctl.h> 219#include <sys/ioctl.h>
220#include <sys/socket.h> 220#include <sys/socket.h>
221#include <sys/time.h> /* concession to AIX */
222#include <sys/select.h> 221#include <sys/select.h>
223#include "inet_common.h" 222#include "inet_common.h"
224 223
diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c
index df626f159..b029af9bf 100644
--- a/networking/udhcp/arpping.c
+++ b/networking/udhcp/arpping.c
@@ -5,7 +5,6 @@
5 * by Yoichi Hariguchi <yoichi@fore.com> 5 * by Yoichi Hariguchi <yoichi@fore.com>
6 */ 6 */
7 7
8#include <sys/time.h>
9#include <time.h> 8#include <time.h>
10#include <sys/socket.h> 9#include <sys/socket.h>
11#include <netinet/if_ether.h> 10#include <netinet/if_ether.h>
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 222bd6519..1d9ab6db6 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -7,7 +7,6 @@
7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
8 */ 8 */
9 9
10#include <sys/time.h>
11#include <sys/file.h> 10#include <sys/file.h>
12#include <unistd.h> 11#include <unistd.h>
13#include <getopt.h> 12#include <getopt.h>
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 28acb6bcc..6c5a753eb 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -34,7 +34,6 @@
34#include <errno.h> 34#include <errno.h>
35#include <sys/ioctl.h> 35#include <sys/ioctl.h>
36#include <time.h> 36#include <time.h>
37#include <sys/time.h>
38 37
39#include "dhcpd.h" 38#include "dhcpd.h"
40#include "arpping.h" 39#include "arpping.h"
diff --git a/networking/wget.c b/networking/wget.c
index d55f4b007..fdcc68df3 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -17,7 +17,6 @@
17#include <signal.h> 17#include <signal.h>
18#include <sys/ioctl.h> 18#include <sys/ioctl.h>
19 19
20#include <sys/time.h>
21#include <sys/types.h> 20#include <sys/types.h>
22#include <sys/stat.h> 21#include <sys/stat.h>
23#include <sys/socket.h> 22#include <sys/socket.h>
diff --git a/networking/zcip.c b/networking/zcip.c
index ed30bb33a..b5a904d46 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -38,7 +38,6 @@
38#include <sys/ioctl.h> 38#include <sys/ioctl.h>
39#include <sys/types.h> 39#include <sys/types.h>
40#include <sys/wait.h> 40#include <sys/wait.h>
41#include <sys/time.h>
42#include <sys/socket.h> 41#include <sys/socket.h>
43 42
44#include <arpa/inet.h> 43#include <arpa/inet.h>