]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add some #defines for builds with glibc2 on Linux 2.0 V2-BETA-1-PATCH-15
authorTed Lemon <source@isc.org>
Tue, 23 Feb 1999 23:07:19 +0000 (23:07 +0000)
committerTed Lemon <source@isc.org>
Tue, 23 Feb 1999 23:07:19 +0000 (23:07 +0000)
includes/cf/linux.h

index f4b48453b811950188b114dd9ded308ff2b91be4..14fdd7c585d7f19f83ed26d5b5ecb9600d7330d0 100644 (file)
@@ -123,6 +123,13 @@ extern int h_errno;
 #  define HAVE_SO_BINDTODEVICE
 #  define HAVE_SIOCGIFHWADDR
 # else
+#  if (LINUX_MAJOR == 2)
+#   define HAVE_ARPHRD_METRICOM
+#   define HAVE_ARPHRD_IEEE802
+#   define HAVE_ARPHRD_LOOPBACK
+#   define HAVE_SO_BINDTODEVICE
+#   define HAVE_SIOCGIFHWADDR
+#  endif
 #  define USE_SOCKETS
 #  define IGNORE_HOSTUNREACH
 # endif