summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/route.c4
-rw-r--r--usr.bin/netstat/unix.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index 41bc572a660..64531d4d509 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.100 2016/08/27 04:13:43 guenther Exp $ */
+/* $OpenBSD: route.c,v 1.101 2016/09/15 01:01:07 dlg Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
@@ -38,10 +38,8 @@
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
-#define _KERNEL
#include <net/route.h>
#include <netinet/ip_ipsp.h>
-#undef _KERNEL
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index 4888469441d..f81a6374c07 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.29 2016/08/27 04:07:42 guenther Exp $ */
+/* $OpenBSD: unix.c,v 1.30 2016/09/15 01:01:08 dlg Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -41,10 +41,8 @@
#include <sys/time.h>
#include <sys/un.h>
#include <sys/unpcb.h>
-#define _KERNEL
#include <sys/ucred.h>
#include <sys/file.h>
-#undef _KERNEL
#include <netinet/in.h>