summaryrefslogtreecommitdiff
path: root/sys/net/if_gre.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-19 17:14:41 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-19 17:14:41 +0000
commit3269fc6455b4bd8297844dde38271fce80b01c60 (patch)
tree6f22aaf3effe683efabc3652df62957945098fba /sys/net/if_gre.c
parent69b06212da880d85a6eb230152c1080423517f91 (diff)
unifdef INET in net code as a precursor to removing the pretend option.
long live the one true internet. ok henning mikeb
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r--sys/net/if_gre.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index bd88af6d64c..ec4a9211710 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.c,v 1.72 2014/11/23 07:39:02 deraadt Exp $ */
+/* $OpenBSD: if_gre.c,v 1.73 2014/12/19 17:14:39 tedu Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -57,14 +57,10 @@
#include <net/netisr.h>
#include <net/route.h>
-#ifdef INET
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/if_ether.h>
-#else
-#error "if_gre used without inet"
-#endif
#if NBPFILTER > 0
#include <net/bpf.h>