From db6f133aee22673ca558db5e194e6381818cb1ec Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 23 Feb 1999 23:07:19 +0000 Subject: [PATCH] Add some #defines for builds with glibc2 on Linux 2.0 --- includes/cf/linux.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.47.3