summaryrefslogtreecommitdiffstats
path: root/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-01-17 12:20:15 +0000
committerRoy Marples <roy@marples.name>2017-01-17 12:20:15 +0000
commit5822adad07d8601e6e03fc2ef05a51380ffdfb1e (patch)
tree538dd28dcdb4cd7bfc0e8ea8d5f8edd189fc8d0a /if.c
parent85caffa8b2ed7e896651abc2fc4167dfc9094255 (diff)
downloaddhcpcd-5822adad07d8601e6e03fc2ef05a51380ffdfb1e.tar.xz
Newer Illumos defines AF_PACKET which confuses us, so punt it.
Diffstat (limited to 'if.c')
-rw-r--r--if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/if.c b/if.c
index ac221f71..e5564097 100644
--- a/if.c
+++ b/if.c
@@ -39,6 +39,7 @@
# include <net/if_dl.h>
# include <net/if_types.h>
# include <netinet/in_var.h>
+# undef AF_PACKET /* Newer Illumos defines this */
#endif
#ifdef AF_PACKET
# include <netpacket/packet.h>