summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-05-12 12:27:17 +0000
committermpi <mpi@openbsd.org>2015-05-12 12:27:17 +0000
commitab1396393ab4730fcecf70130b273bd12bf7bc3c (patch)
tree580927aa947032762dc891a54e583e930c54b53d /sys/netinet6
parentAdd newly matched devices to urtwn(4) hardware list. (diff)
downloadwireguard-openbsd-ab1396393ab4730fcecf70130b273bd12bf7bc3c.tar.xz
wireguard-openbsd-ab1396393ab4730fcecf70130b273bd12bf7bc3c.zip
MPLS also needs a definition for etherip_output(), fix build without
bridge.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c
index cbbe81b83e0..c5bfed0ca88 100644
--- a/sys/netinet6/in6_gif.c
+++ b/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_gif.c,v 1.37 2015/03/14 03:38:52 jsg Exp $ */
+/* $OpenBSD: in6_gif.c,v 1.38 2015/05/12 12:27:17 mpi Exp $ */
/* $KAME: in6_gif.c,v 1.43 2001/01/22 07:27:17 itojun Exp $ */
/*
@@ -60,7 +60,7 @@
#include <net/if_gif.h>
#include "bridge.h"
-#if NBRIDGE > 0
+#if NBRIDGE > 0 || defined(MPLS)
#include <netinet/ip_ether.h>
#endif