summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-10 14:08:13 +0000
committerderaadt <deraadt@openbsd.org>2014-07-10 14:08:13 +0000
commit7e57f291793b776d2302d639712893d353221def (patch)
treeb9ea846eb377365be76cd86d617d95fc2f0581bf /usr.bin/netstat/unix.c
parentStop including standard headers via cryptlib.h - pull in the headers that (diff)
downloadwireguard-openbsd-7e57f291793b776d2302d639712893d353221def.tar.xz
wireguard-openbsd-7e57f291793b776d2302d639712893d353221def.zip
#define _KERNEL hack requires ucred.h now as well
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r--usr.bin/netstat/unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index 145d77b0693..e92a88bf5f3 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.22 2013/11/09 20:04:13 guenther Exp $ */
+/* $OpenBSD: unix.c,v 1.23 2014/07/10 14:08:13 deraadt Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -42,6 +42,7 @@
#include <sys/un.h>
#include <sys/unpcb.h>
#define _KERNEL
+#include <sys/ucred.h>
#include <sys/file.h>
#undef _KERNEL