summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-12-05 15:50:03 +0000
committermpi <mpi@openbsd.org>2014-12-05 15:50:03 +0000
commit0deb6685920d1014aeed01c2cf385a7e86089f92 (patch)
treeb0907295b1d360160744262eef50a274885e7f8b /sys/compat/linux/linux_socket.c
parentMove initial wait for network link into the state machine by adding (diff)
downloadwireguard-openbsd-0deb6685920d1014aeed01c2cf385a7e86089f92.tar.xz
wireguard-openbsd-0deb6685920d1014aeed01c2cf385a7e86089f92.zip
Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.
ok mikeb@, krw@, bluhm@, tedu@
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r--sys/compat/linux/linux_socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index 1ec0e394bdd..a6895cff62d 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.c,v 1.55 2014/10/25 03:29:32 lteo Exp $ */
+/* $OpenBSD: linux_socket.c,v 1.56 2014/12/05 15:50:03 mpi Exp $ */
/* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */
/*
@@ -49,6 +49,7 @@
#include <sys/socketvar.h>
#include <sys/un.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_types.h>
#include <net/if_dl.h>
#include <netinet/in.h>