summaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
authorEric Andersen2003-01-14 08:54:08 +0000
committerEric Andersen2003-01-14 08:54:08 +0000
commitab4e19afc66e13b6aac7429fdce95d2aa7cb15ae (patch)
tree712b347dc89d890fe0d5755ebbbe9c23eb891a4c /networking/nameif.c
parent92a06d0943a7890b6e69d9ad955feb6d138713b7 (diff)
downloadbusybox-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.zip
busybox-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.tar.gz
Eliminate most instances where we use linux kernel headers
-Erik
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index a9d4221..886ff49 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -32,10 +32,12 @@
#include <string.h>
#include <net/if.h>
#include <netinet/ether.h>
-#include <linux/sockios.h>
#include "busybox.h"
+/* take from linux/sockios.h */
+#define SIOCSIFNAME 0x8923 /* set interface name */
+
/* Octets in one ethernet addr, from <linux/if_ether.h> */
#define ETH_ALEN 6