summaryrefslogtreecommitdiffstats
path: root/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-06-05 13:53:20 +0000
committerRoy Marples <roy@marples.name>2014-06-05 13:53:20 +0000
commit6c9c45832452e256002b65fb178b1e49ac3d27a2 (patch)
tree53b42a94659a884829b425e461b52d126241d45f /ipv6.c
parentc9ce5cc4ff17930660ca89c742b90e45673708da (diff)
downloaddhcpcd-6c9c45832452e256002b65fb178b1e49ac3d27a2.tar.xz
be32enc is missing on OpenBSD, so provide a configure test.
Fix compile on OpenBSD.
Diffstat (limited to 'ipv6.c')
-rw-r--r--ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipv6.c b/ipv6.c
index 1b2300ec..cdbfb1f0 100644
--- a/ipv6.c
+++ b/ipv6.c
@@ -30,9 +30,10 @@
#include <sys/socket.h>
#include <sys/stat.h>
+#include <net/if.h>
#include <net/route.h>
-#include <netinet/if_ether.h>
#include <netinet/in.h>
+#include <netinet/if_ether.h>
#ifdef __linux__
# include <asm/types.h> /* for systems with broken headers */