diff options
author | Rob Landley <rob@landley.net> | 2006-05-27 21:42:58 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-27 21:42:58 +0000 |
commit | 299a6b4d7bf40c30e4a52ee8311c17ffd42b3035 (patch) | |
tree | a3aff515a2f06bf72c2fb9fbf1e6e5bee60ad2f4 | |
parent | d244bc1a5745a64902d65b55c0fdc8d7e1a1221c (diff) | |
download | busybox-w32-299a6b4d7bf40c30e4a52ee8311c17ffd42b3035.tar.gz busybox-w32-299a6b4d7bf40c30e4a52ee8311c17ffd42b3035.tar.bz2 busybox-w32-299a6b4d7bf40c30e4a52ee8311c17ffd42b3035.zip |
Consolidate #include <sys/time.h> so libbb.h does it.
40 files changed, 2 insertions, 46 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index 401d2ffb7..a922eb96c 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -11,7 +11,6 @@ | |||
11 | 11 | ||
12 | #include <stdlib.h> | 12 | #include <stdlib.h> |
13 | #include <errno.h> | 13 | #include <errno.h> |
14 | #include <sys/time.h> | ||
15 | #include <unistd.h> | 14 | #include <unistd.h> |
16 | #include <time.h> | 15 | #include <time.h> |
17 | #include <stdio.h> | 16 | #include <stdio.h> |
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index c5021f9d0..cf98c4fed 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <unistd.h> | 15 | #include <unistd.h> |
16 | #include <stdint.h> | 16 | #include <stdint.h> |
17 | #include <fcntl.h> | 17 | #include <fcntl.h> |
18 | #include <sys/time.h> | ||
19 | #include "busybox.h" | 18 | #include "busybox.h" |
20 | 19 | ||
21 | #define CT_UNIX2DOS 1 | 20 | #define CT_UNIX2DOS 1 |
diff --git a/coreutils/nice.c b/coreutils/nice.c index 449184dab..e8cee6cef 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <limits.h> | 26 | #include <limits.h> |
27 | #include <errno.h> | 27 | #include <errno.h> |
28 | #include <unistd.h> | 28 | #include <unistd.h> |
29 | #include <sys/time.h> | ||
30 | #include <sys/resource.h> | 29 | #include <sys/resource.h> |
31 | #include "busybox.h" | 30 | #include "busybox.h" |
32 | 31 | ||
diff --git a/e2fsprogs/e2fsck.h b/e2fsprogs/e2fsck.h index 43080d24e..b480d8fa5 100644 --- a/e2fsprogs/e2fsck.h +++ b/e2fsprogs/e2fsck.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <stddef.h> | 14 | #include <stddef.h> |
15 | #include <assert.h> | 15 | #include <assert.h> |
16 | #include <signal.h> | 16 | #include <signal.h> |
17 | #include <sys/time.h> | ||
18 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
19 | #include <sys/resource.h> | 18 | #include <sys/resource.h> |
20 | #include <sys/param.h> | 19 | #include <sys/param.h> |
diff --git a/e2fsprogs/ext2fs/bmove.c b/e2fsprogs/ext2fs/bmove.c index afc271022..8db905164 100644 --- a/e2fsprogs/ext2fs/bmove.c +++ b/e2fsprogs/ext2fs/bmove.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #if HAVE_SYS_TYPES_H | 14 | #if HAVE_SYS_TYPES_H |
15 | #include <sys/types.h> | 15 | #include <sys/types.h> |
16 | #endif | 16 | #endif |
17 | #include <sys/time.h> | ||
18 | 17 | ||
19 | #include "ext2_fs.h" | 18 | #include "ext2_fs.h" |
20 | #include "ext2fsP.h" | 19 | #include "ext2fsP.h" |
diff --git a/e2fsprogs/uuid/gen_uuid.c b/e2fsprogs/uuid/gen_uuid.c index d84777498..24eb852ef 100644 --- a/e2fsprogs/uuid/gen_uuid.c +++ b/e2fsprogs/uuid/gen_uuid.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <fcntl.h> | 38 | #include <fcntl.h> |
39 | #include <errno.h> | 39 | #include <errno.h> |
40 | #include <sys/types.h> | 40 | #include <sys/types.h> |
41 | #include <sys/time.h> | ||
42 | #include <sys/stat.h> | 41 | #include <sys/stat.h> |
43 | #include <sys/file.h> | 42 | #include <sys/file.h> |
44 | #ifdef HAVE_SYS_IOCTL_H | 43 | #ifdef HAVE_SYS_IOCTL_H |
diff --git a/e2fsprogs/uuid/uuid.h b/e2fsprogs/uuid/uuid.h index cd97a5e78..95602c9db 100644 --- a/e2fsprogs/uuid/uuid.h +++ b/e2fsprogs/uuid/uuid.h | |||
@@ -36,7 +36,6 @@ | |||
36 | #define _UUID_UUID_H | 36 | #define _UUID_UUID_H |
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | #include <sys/time.h> | ||
40 | #include <time.h> | 39 | #include <time.h> |
41 | 40 | ||
42 | typedef unsigned char uuid_t[16]; | 41 | typedef unsigned char uuid_t[16]; |
diff --git a/e2fsprogs/uuid/uuid_time.c b/e2fsprogs/uuid/uuid_time.c index 9ff3607d8..51f87de22 100644 --- a/e2fsprogs/uuid/uuid_time.c +++ b/e2fsprogs/uuid/uuid_time.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <unistd.h> | 38 | #include <unistd.h> |
39 | #include <stdlib.h> | 39 | #include <stdlib.h> |
40 | #include <sys/types.h> | 40 | #include <sys/types.h> |
41 | #include <sys/time.h> | ||
42 | #include <time.h> | 41 | #include <time.h> |
43 | 42 | ||
44 | #include "uuidP.h" | 43 | #include "uuidP.h" |
diff --git a/editors/vi.c b/editors/vi.c index 7d5497830..1e8f3835d 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <termios.h> | 57 | #include <termios.h> |
58 | #include <unistd.h> | 58 | #include <unistd.h> |
59 | #include <sys/ioctl.h> | 59 | #include <sys/ioctl.h> |
60 | #include <sys/time.h> | ||
61 | #include <sys/types.h> | 60 | #include <sys/types.h> |
62 | #include <sys/stat.h> | 61 | #include <sys/stat.h> |
63 | #include <time.h> | 62 | #include <time.h> |
diff --git a/include/libbb.h b/include/libbb.h index 3bb663bb5..fdb20227d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -24,6 +24,8 @@ | |||
24 | #include <netinet/in.h> | 24 | #include <netinet/in.h> |
25 | #include <netdb.h> | 25 | #include <netdb.h> |
26 | 26 | ||
27 | #include <sys/time.h> | ||
28 | |||
27 | #include "bb_config.h" | 29 | #include "bb_config.h" |
28 | #ifdef CONFIG_SELINUX | 30 | #ifdef CONFIG_SELINUX |
29 | #include <selinux/selinux.h> | 31 | #include <selinux/selinux.h> |
diff --git a/init/init.c b/init/init.c index b0443d095..ec3c4d7cf 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -91,7 +91,6 @@ struct serial_struct { | |||
91 | */ | 91 | */ |
92 | #define CORE_ENABLE_FLAG_FILE "/.init_enable_core" | 92 | #define CORE_ENABLE_FLAG_FILE "/.init_enable_core" |
93 | #include <sys/resource.h> | 93 | #include <sys/resource.h> |
94 | #include <sys/time.h> | ||
95 | #endif | 94 | #endif |
96 | 95 | ||
97 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) | 96 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) |
diff --git a/loginutils/login.c b/loginutils/login.c index b1367327b..46c4ade56 100644 --- a/loginutils/login.c +++ b/loginutils/login.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <utmp.h> | 10 | #include <utmp.h> |
11 | #include <sys/resource.h> | 11 | #include <sys/resource.h> |
12 | #include <sys/stat.h> | 12 | #include <sys/stat.h> |
13 | #include <sys/time.h> | ||
14 | #include <sys/types.h> | 13 | #include <sys/types.h> |
15 | #include <ctype.h> | 14 | #include <ctype.h> |
16 | #include <time.h> | 15 | #include <time.h> |
diff --git a/loginutils/su.c b/loginutils/su.c index b0227787a..a6fcd739f 100644 --- a/loginutils/su.c +++ b/loginutils/su.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <utmp.h> | 14 | #include <utmp.h> |
15 | #include <sys/resource.h> | 15 | #include <sys/resource.h> |
16 | #include <sys/stat.h> | 16 | #include <sys/stat.h> |
17 | #include <sys/time.h> | ||
18 | #include <sys/types.h> | 17 | #include <sys/types.h> |
19 | #include <ctype.h> | 18 | #include <ctype.h> |
20 | #include <time.h> | 19 | #include <time.h> |
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index 8c5d88a62..66f8f0160 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <utmp.h> | 9 | #include <utmp.h> |
10 | #include <sys/resource.h> | 10 | #include <sys/resource.h> |
11 | #include <sys/stat.h> | 11 | #include <sys/stat.h> |
12 | #include <sys/time.h> | ||
13 | #include <sys/types.h> | 12 | #include <sys/types.h> |
14 | #include <ctype.h> | 13 | #include <ctype.h> |
15 | #include <time.h> | 14 | #include <time.h> |
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index 4a242cfb7..b5e87ba6e 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <sys/types.h> | 44 | #include <sys/types.h> |
45 | #include <stdlib.h> | 45 | #include <stdlib.h> |
46 | #include <unistd.h> | 46 | #include <unistd.h> |
47 | #include <sys/time.h> | ||
48 | #include <sys/timex.h> | 47 | #include <sys/timex.h> |
49 | #include "busybox.h" | 48 | #include "busybox.h" |
50 | 49 | ||
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index f99a94628..aa682dc0d 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <stdarg.h> | 57 | #include <stdarg.h> |
58 | #include <string.h> | 58 | #include <string.h> |
59 | #include <ctype.h> | 59 | #include <ctype.h> |
60 | #include <sys/time.h> | ||
61 | #include <sys/stat.h> | 60 | #include <sys/stat.h> |
62 | #include <sys/types.h> | 61 | #include <sys/types.h> |
63 | #include <sys/wait.h> | 62 | #include <sys/wait.h> |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 6a8149841..7511f35a3 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <endian.h> | 20 | #include <endian.h> |
21 | #include <sys/ioctl.h> | 21 | #include <sys/ioctl.h> |
22 | #include <sys/sysmacros.h> | 22 | #include <sys/sysmacros.h> |
23 | #include <sys/time.h> | ||
24 | #include <sys/times.h> | 23 | #include <sys/times.h> |
25 | #include <sys/mount.h> | 24 | #include <sys/mount.h> |
26 | #include <sys/mman.h> | 25 | #include <sys/mman.h> |
diff --git a/miscutils/time.c b/miscutils/time.c index 89c48547a..0a2fb7748 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <string.h> | 29 | #include <string.h> |
30 | #include <limits.h> | 30 | #include <limits.h> |
31 | #include <unistd.h> | 31 | #include <unistd.h> |
32 | #include <sys/time.h> | ||
33 | #include <sys/types.h> /* For pid_t. */ | 32 | #include <sys/types.h> /* For pid_t. */ |
34 | #include <sys/wait.h> | 33 | #include <sys/wait.h> |
35 | #include <sys/param.h> /* For getpagesize, maybe. */ | 34 | #include <sys/param.h> /* For getpagesize, maybe. */ |
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> |
diff --git a/procps/renice.c b/procps/renice.c index d4ce66d2e..711ed164e 100644 --- a/procps/renice.c +++ b/procps/renice.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <limits.h> | 38 | #include <limits.h> |
39 | #include <errno.h> | 39 | #include <errno.h> |
40 | #include <unistd.h> | 40 | #include <unistd.h> |
41 | #include <sys/time.h> | ||
42 | #include <sys/resource.h> | 41 | #include <sys/resource.h> |
43 | #include "busybox.h" | 42 | #include "busybox.h" |
44 | 43 | ||
diff --git a/procps/top.c b/procps/top.c index 691b4ea7e..c0d16b658 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -40,7 +40,6 @@ | |||
40 | 40 | ||
41 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE | 41 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE |
42 | #include <time.h> | 42 | #include <time.h> |
43 | #include <sys/time.h> | ||
44 | #include <fcntl.h> | 43 | #include <fcntl.h> |
45 | #include <netinet/in.h> /* htons */ | 44 | #include <netinet/in.h> /* htons */ |
46 | #endif | 45 | #endif |
@@ -370,7 +369,6 @@ static void clearmems(void) | |||
370 | 369 | ||
371 | #ifdef CONFIG_FEATURE_USE_TERMIOS | 370 | #ifdef CONFIG_FEATURE_USE_TERMIOS |
372 | #include <termios.h> | 371 | #include <termios.h> |
373 | #include <sys/time.h> | ||
374 | #include <signal.h> | 372 | #include <signal.h> |
375 | 373 | ||
376 | 374 | ||
diff --git a/shell/ash.c b/shell/ash.c index 33eaf9227..c8ccf19b5 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -58,7 +58,6 @@ | |||
58 | #include <sys/param.h> | 58 | #include <sys/param.h> |
59 | #include <sys/resource.h> | 59 | #include <sys/resource.h> |
60 | #include <sys/stat.h> | 60 | #include <sys/stat.h> |
61 | #include <sys/time.h> | ||
62 | #include <sys/wait.h> | 61 | #include <sys/wait.h> |
63 | 62 | ||
64 | #include <stdio.h> | 63 | #include <stdio.h> |
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 3d7f40026..e1a67f290 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -9,7 +9,6 @@ | |||
9 | 9 | ||
10 | 10 | ||
11 | #include <sys/ioctl.h> | 11 | #include <sys/ioctl.h> |
12 | #include <sys/time.h> | ||
13 | #include <sys/utsname.h> | 12 | #include <sys/utsname.h> |
14 | #include <ctype.h> | 13 | #include <ctype.h> |
15 | #include <fcntl.h> | 14 | #include <fcntl.h> |
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 2b011ebb0..27bd1b481 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
@@ -8,7 +8,6 @@ | |||
8 | * Licensed under GPL v2 or later, see file License for details. | 8 | * Licensed under GPL v2 or later, see file License for details. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <sys/time.h> | ||
12 | #include <sys/types.h> | 11 | #include <sys/types.h> |
13 | #include <sys/socket.h> | 12 | #include <sys/socket.h> |
14 | #include <netinet/in.h> | 13 | #include <netinet/in.h> |