]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't define HAVE_SIOCGIFHWADDR except on Linux.
authorTed Lemon <source@isc.org>
Fri, 7 Apr 2000 05:08:13 +0000 (05:08 +0000)
committerTed Lemon <source@isc.org>
Fri, 7 Apr 2000 05:08:13 +0000 (05:08 +0000)
includes/cf/linux.h
includes/osdep.h

index 2d773fdb7f8e70f18e6104bac15c5b58135c8005..f9fa09a24c27f838139c7c95f84c596fe64f70bb 100644 (file)
@@ -137,6 +137,10 @@ extern int h_errno;
 # define HAVE_SETFD
 #endif
 
+#if defined (SIOCGIFHWADDR) && !defined (HAVE_SIOCGIFHWADDR)
+# define HAVE_SIOCGIFHWADDR
+#endif
+
 #if !defined (USE_LPF)
 # if defined (USE_DEFAULT_NETWORK)
 #  define USE_SOCKETS
index c531dffcccd7cfb6db6a3c5fbdb18f4ebd8c75b0..cca2bf8e8148c0380d3d8c89571244ef2a9ef23f 100644 (file)
 # define HAVE_SO_BINDTODEVICE
 #endif
 
-#if defined (SIOCGIFHWADDR) && !defined (HAVE_SIOCGIFHWADDR)
-# define HAVE_SIOCGIFHWADDR
-#endif
-
 #if defined (AF_LINK) && !defined (HAVE_AF_LINK)
 # define HAVE_AF_LINK
 #endif