]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile with bpf on OpenBSD.
authorRoy Marples <roy@marples.name>
Wed, 22 Mar 2017 12:25:25 +0000 (12:25 +0000)
committerRoy Marples <roy@marples.name>
Wed, 22 Mar 2017 12:25:25 +0000 (12:25 +0000)
src/bpf.c

index 73e83e28f0a542f77075b131cf859ab5c867ee9c..f22060739c9070cdf7910c3334423b5802e68587 100644 (file)
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -26,6 +26,7 @@
  */
 
 #include <sys/ioctl.h>
+#include <sys/socket.h>
 
 #include <arpa/inet.h>