Commit 1bddf26a authored by Ted Lemon's avatar Ted Lemon
Browse files

Don't define HAVE_SIOCGIFHWADDR except on Linux.

parent 05af5898
...@@ -137,6 +137,10 @@ extern int h_errno; ...@@ -137,6 +137,10 @@ extern int h_errno;
# define HAVE_SETFD # define HAVE_SETFD
#endif #endif
#if defined (SIOCGIFHWADDR) && !defined (HAVE_SIOCGIFHWADDR)
# define HAVE_SIOCGIFHWADDR
#endif
#if !defined (USE_LPF) #if !defined (USE_LPF)
# if defined (USE_DEFAULT_NETWORK) # if defined (USE_DEFAULT_NETWORK)
# define USE_SOCKETS # define USE_SOCKETS
......
...@@ -296,10 +296,6 @@ ...@@ -296,10 +296,6 @@
# define HAVE_SO_BINDTODEVICE # define HAVE_SO_BINDTODEVICE
#endif #endif
#if defined (SIOCGIFHWADDR) && !defined (HAVE_SIOCGIFHWADDR)
# define HAVE_SIOCGIFHWADDR
#endif
#if defined (AF_LINK) && !defined (HAVE_AF_LINK) #if defined (AF_LINK) && !defined (HAVE_AF_LINK)
# define HAVE_AF_LINK # define HAVE_AF_LINK
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment