summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-12 12:27:18 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-05-12 12:27:18 +0000
commit949ff9dd3fe5874825e38214c0909ac6e676df7f (patch)
treeba40246ec22c1ede0f0121d95562c227440196c2 /sys/netinet
parent56e7cb86100091d2bcb0f34aa57a1863ae38dc48 (diff)
MPLS also needs a definition for etherip_output(), fix build without
bridge.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 61995b73206..59a6cff70fb 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_gif.c,v 1.43 2015/03/14 03:38:51 jsg Exp $ */
+/* $OpenBSD: in_gif.c,v 1.44 2015/05/12 12:27:17 mpi Exp $ */
/* $KAME: in_gif.c,v 1.50 2001/01/22 07:27:16 itojun Exp $ */
/*
@@ -50,7 +50,7 @@
#include "gif.h"
#include "bridge.h"
-#if NBRIDGE > 0
+#if NBRIDGE > 0 || defined(MPLS)
#include <netinet/ip_ether.h>
#endif