diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-11-06 08:43:12 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-11-06 08:43:12 +0000 |
commit | f9b3502ce194004548b59c9ae30ce85124b260e8 (patch) | |
tree | 219fa3bb9dfa8c50dee7f644b581df144a27944a /usr.bin/netstat | |
parent | e85d791ca2dd096b3ba489e6a885f9852dd3736f (diff) | |
download | src-f9b3502ce194004548b59c9ae30ce85124b260e8.tar.gz src-f9b3502ce194004548b59c9ae30ce85124b260e8.zip |
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
Notes
Notes:
svn path=/head/; revision=290437
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index 534b40e3899c..6ba528958b56 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> |