summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-02-04 13:17:08 +0000
committerjsg <jsg@openbsd.org>2017-02-04 13:17:08 +0000
commit80e64e9d9857d7ba8617a864925b473496540880 (patch)
treecc66e6ed1a14169753520fcfedd286675e09a604
parentDo not fix the default indent for all subsequent files; some may use (diff)
downloadwireguard-openbsd-80e64e9d9857d7ba8617a864925b473496540880.tar.xz
wireguard-openbsd-80e64e9d9857d7ba8617a864925b473496540880.zip
Include netinet/in.h for in_addr_t now it has moved out of sys/types.h.
gcc warned about this, clang fatally errored.
-rw-r--r--usr.bin/netstat/mbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c
index 1c75b40edbc..f7970a57c32 100644
--- a/usr.bin/netstat/mbuf.c
+++ b/usr.bin/netstat/mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.c,v 1.38 2016/10/28 05:46:14 dlg Exp $ */
+/* $OpenBSD: mbuf.c,v 1.39 2017/02/04 13:17:08 jsg Exp $ */
/* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */
/*
@@ -37,6 +37,7 @@
#include <sys/pool.h>
#include <sys/sysctl.h>
#include <net/if.h>
+#include <netinet/in.h>
#include <errno.h>
#include <limits.h>