summaryrefslogtreecommitdiff
path: root/includes/cf
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-04-07 05:08:13 +0000
committerTed Lemon <source@isc.org>2000-04-07 05:08:13 +0000
commit1bddf26a11187516aacaa3b450eadc300ea6bc03 (patch)
treee65b0ac01cd1226290fbbcdf8c6771aa3407d3ee /includes/cf
parent05af58984c20c8ffd64ef83f901959d54ded5fa9 (diff)
downloadisc-dhcp-1bddf26a11187516aacaa3b450eadc300ea6bc03.tar.gz
Don't define HAVE_SIOCGIFHWADDR except on Linux.
Diffstat (limited to 'includes/cf')
-rw-r--r--includes/cf/linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/cf/linux.h b/includes/cf/linux.h
index 2d773fdb..f9fa09a2 100644
--- a/includes/cf/linux.h
+++ b/includes/cf/linux.h
@@ -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