summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-12-05 15:50:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-12-05 15:50:05 +0000
commit8408ec24028693835160bf2ce0f968cb43c63643 (patch)
tree58a8a3a42e9afee7d996989f39056dbefd9f9930 /sys/arch
parent3102933c68a271f0c3b5bf4ab50e6229ecd384d1 (diff)
Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.
ok mikeb@, krw@, bluhm@, tedu@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/dev/cn30xxpip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/octeon/dev/cn30xxpip.c b/sys/arch/octeon/dev/cn30xxpip.c
index a6ec1bae603..52a1193a739 100644
--- a/sys/arch/octeon/dev/cn30xxpip.c
+++ b/sys/arch/octeon/dev/cn30xxpip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxpip.c,v 1.3 2014/08/11 18:29:56 miod Exp $ */
+/* $OpenBSD: cn30xxpip.c,v 1.4 2014/12/05 15:50:03 mpi Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -33,6 +33,7 @@
#include <sys/syslog.h>
#include <sys/time.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <machine/octeonvar.h>