svn commit: r290437 - head/usr.bin/netstat

Garrett Cooper ngie at FreeBSD.org
Fri Nov 6 08:43:13 UTC 2015


Author: ngie
Date: Fri Nov  6 08:43:12 2015
New Revision: 290437
URL: https://svnweb.freebsd.org/changeset/base/290437

Log:
  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 at zedat.fu-berlin.de>
  Pointyhat to: ume

Modified:
  head/usr.bin/netstat/if.c

Modified: head/usr.bin/netstat/if.c
==============================================================================
--- head/usr.bin/netstat/if.c	Fri Nov  6 05:32:18 2015	(r290436)
+++ head/usr.bin/netstat/if.c	Fri Nov  6 08:43:12 2015	(r290437)
@@ -37,7 +37,7 @@ static char sccsid[] = "@(#)if.c	8.3 (Be
 #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>


More information about the svn-src-all mailing list