]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Fix compiling netstat after r290367 by substituting sys/types.h for
authorngie <ngie@FreeBSD.org>
Fri, 6 Nov 2015 08:43:12 +0000 (08:43 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 6 Nov 2015 08:43:12 +0000 (08:43 +0000)
sys/param.h, as sys/param.h defines the MAX(..) macro

Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de>
Pointyhat to: ume

usr.bin/netstat/if.c

index 534b40e3899cc0e01c4a8c97921357615f5712b7..6ba528958b56a9b6312a342ec6bf28aca0f9d975 100644 (file)
@@ -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>