summaryrefslogtreecommitdiffstats
path: root/src/privsep-bpf.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
committerRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
commit471df5f6419f744013472455a3b8f977b07bd725 (patch)
tree436fb9cad436a10dd451629ce0a978513e1d7e1d /src/privsep-bpf.c
parent835f5ebf17d0996214763320bce1faed36c94fb2 (diff)
downloaddhcpcd-471df5f6419f744013472455a3b8f977b07bd725.tar.xz
Solaris: start privsep support
Compiles but lacks support for DLPI and ioctl needs rework.
Diffstat (limited to 'src/privsep-bpf.c')
-rw-r--r--src/privsep-bpf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep-bpf.c b/src/privsep-bpf.c
index a14d8a14..98878b70 100644
--- a/src/privsep-bpf.c
+++ b/src/privsep-bpf.c
@@ -31,6 +31,7 @@
/* Need these headers just for if_ether on some OS. */
#ifndef __NetBSD__
+#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/in.h>
#endif