diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-01-14 08:54:08 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-01-14 08:54:08 +0000 |
commit | b563f743cd302d25e4bd248b3432f9e2cf6a03cd (patch) | |
tree | 712b347dc89d890fe0d5755ebbbe9c23eb891a4c /networking/nameif.c | |
parent | 22bbf531115549ea53104a067ac44b40596f5746 (diff) | |
download | busybox-w32-b563f743cd302d25e4bd248b3432f9e2cf6a03cd.tar.gz busybox-w32-b563f743cd302d25e4bd248b3432f9e2cf6a03cd.tar.bz2 busybox-w32-b563f743cd302d25e4bd248b3432f9e2cf6a03cd.zip |
Eliminate most instances where we use linux kernel headers
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@6329 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | networking/nameif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index a9d422110..886ff49a8 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -32,10 +32,12 @@ | |||
32 | #include <string.h> | 32 | #include <string.h> |
33 | #include <net/if.h> | 33 | #include <net/if.h> |
34 | #include <netinet/ether.h> | 34 | #include <netinet/ether.h> |
35 | #include <linux/sockios.h> | ||
36 | 35 | ||
37 | #include "busybox.h" | 36 | #include "busybox.h" |
38 | 37 | ||
38 | /* take from linux/sockios.h */ | ||
39 | #define SIOCSIFNAME 0x8923 /* set interface name */ | ||
40 | |||
39 | /* Octets in one ethernet addr, from <linux/if_ether.h> */ | 41 | /* Octets in one ethernet addr, from <linux/if_ether.h> */ |
40 | #define ETH_ALEN 6 | 42 | #define ETH_ALEN 6 |
41 | 43 | ||