From: Ted Lemon Date: Tue, 23 Feb 1999 23:07:19 +0000 (+0000) Subject: Add some #defines for builds with glibc2 on Linux 2.0 X-Git-Tag: V2-BETA-1-PATCH-15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db6f133aee22673ca558db5e194e6381818cb1ec;p=thirdparty%2Fdhcp.git Add some #defines for builds with glibc2 on Linux 2.0 --- diff --git a/includes/cf/linux.h b/includes/cf/linux.h index f4b48453b..14fdd7c58 100644 --- a/includes/cf/linux.h +++ b/includes/cf/linux.h @@ -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