svn commit: r290437 - head/usr.bin/netstat
Bryan Drewery
bdrewery at FreeBSD.org
Fri Nov 6 21:08:13 UTC 2015
On 11/6/2015 12:43 AM, Garrett Cooper wrote:
> 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>
>
This is strange, it was building fine for days, and builds fine for me
locally with reverting this change. While this may be proper, how is
this a 'fix compiling' and a 'pointyhat'?
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20151106/13a68459/attachment.bin>
More information about the svn-src-head
mailing list