summaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
authorRob Landley2006-06-05 17:35:24 +0000
committerRob Landley2006-06-05 17:35:24 +0000
commit362dc2bf3314b3e01d0445acbabaebedb3a94131 (patch)
tree7f8847740d40d26316019a033879e1cfcad708d5 /networking/nameif.c
parent12d87550a3b7b85d2c03e45261e059855db04d1b (diff)
downloadbusybox-362dc2bf3314b3e01d0445acbabaebedb3a94131.zip
busybox-362dc2bf3314b3e01d0445acbabaebedb3a94131.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index 7dc48ec..3d53d6f 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -8,17 +8,17 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
+#include "busybox.h"
+
#include <sys/syslog.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>
-#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <net/if.h>
#include <netinet/ether.h>
-#include "busybox.h"
/* Older versions of net/if.h do not appear to define IF_NAMESIZE. */
#ifndef IF_NAMESIZE