diff options
author | Rob Landley <rob@landley.net> | 2006-06-05 17:35:24 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-06-05 17:35:24 +0000 |
commit | 362dc2bf3314b3e01d0445acbabaebedb3a94131 (patch) | |
tree | 7f8847740d40d26316019a033879e1cfcad708d5 /networking/nameif.c | |
parent | 12d87550a3b7b85d2c03e45261e059855db04d1b (diff) | |
download | busybox-w32-362dc2bf3314b3e01d0445acbabaebedb3a94131.tar.gz busybox-w32-362dc2bf3314b3e01d0445acbabaebedb3a94131.tar.bz2 busybox-w32-362dc2bf3314b3e01d0445acbabaebedb3a94131.zip |
Header cleanup on two more networking files (move libbb.h to the top and
remove #includes that libbb.h already does), plus a minor cleanup of
libbb.h to move #includes towards the top of the file where we can see 'em.
Diffstat (limited to 'networking/nameif.c')
-rw-r--r-- | networking/nameif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index 7dc48ec16..3d53d6f15 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -8,17 +8,17 @@ | |||
8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "busybox.h" | ||
12 | |||
11 | #include <sys/syslog.h> | 13 | #include <sys/syslog.h> |
12 | #include <sys/socket.h> | 14 | #include <sys/socket.h> |
13 | #include <sys/ioctl.h> | 15 | #include <sys/ioctl.h> |
14 | #include <errno.h> | 16 | #include <errno.h> |
15 | #include <stdlib.h> | ||
16 | #include <string.h> | 17 | #include <string.h> |
17 | #include <unistd.h> | 18 | #include <unistd.h> |
18 | #include <net/if.h> | 19 | #include <net/if.h> |
19 | #include <netinet/ether.h> | 20 | #include <netinet/ether.h> |
20 | 21 | ||
21 | #include "busybox.h" | ||
22 | 22 | ||
23 | /* Older versions of net/if.h do not appear to define IF_NAMESIZE. */ | 23 | /* Older versions of net/if.h do not appear to define IF_NAMESIZE. */ |
24 | #ifndef IF_NAMESIZE | 24 | #ifndef IF_NAMESIZE |