summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-06 08:43:12 +0000
committerngie <ngie@FreeBSD.org>2015-11-06 08:43:12 +0000
commitf256f350a9f1d7dcfc8f1b807f4593d9214e0013 (patch)
tree219fa3bb9dfa8c50dee7f644b581df144a27944a /usr.bin
parent5b744d00def7b3077d3a362fbf7d0360a9fb1ea7 (diff)
downloadFreeBSD-src-f256f350a9f1d7dcfc8f1b807f4593d9214e0013.zip
FreeBSD-src-f256f350a9f1d7dcfc8f1b807f4593d9214e0013.tar.gz
Fix compiling netstat after r290367 by substituting sys/types.h for
sys/param.h, as sys/param.h defines the MAX(..) macro Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de> Pointyhat to: ume
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 534b40e..6ba5289 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -37,7 +37,7 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
OpenPOWER on IntegriCloud