diff options
author | Ted Lemon <source@isc.org> | 1996-09-11 06:36:41 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-09-11 06:36:41 +0000 |
commit | 5448eba39d0748da033b8d5cb8249cf37c043b59 (patch) | |
tree | 62e702b28d75f750e209edf95bbc16518c95e2cd /includes/cf/linux.h | |
parent | 7084791cfd9c1596fd4631418997d811deb6f397 (diff) | |
download | isc-dhcp-5448eba39d0748da033b8d5cb8249cf37c043b59.tar.gz |
Linux portability hacks
Diffstat (limited to 'includes/cf/linux.h')
-rw-r--r-- | includes/cf/linux.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/cf/linux.h b/includes/cf/linux.h index e7b7c472..0674727b 100644 --- a/includes/cf/linux.h +++ b/includes/cf/linux.h @@ -56,16 +56,20 @@ typedef unsigned long u_int32_t; #include <signal.h> #include <setjmp.h> #include <limits.h> -#include <linux/netdevice.h> extern int h_errno; #include <net/if.h> -#include <linux/if_arp.h> + +#define ARPHRD_ETHER 1 +#define ARPHRD_IEEE802 6 + #include <sys/time.h> /* gettimeofday()*/ #include <linux/time.h> /* also necessary */ +#ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" +#endif /* Varargs stuff... */ #include <stdarg.h> |