Eliminate most instances where we use linux kernel headers
-Erik
This commit is contained in:
parent
92a06d0943
commit
ab4e19afc6
6 changed files with 38 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue