Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2015 08:43:12 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290437 - head/usr.bin/netstat
Message-ID:  <201511060843.tA68hCov032306@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511060843.tA68hCov032306>