Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/sockstat
Module Name: src
Committed By: he
Date: Sat Mar 1 11:04:30 UTC 2008
Modified Files:
src/usr.bin/sockstat: sockstat.c
Log Message:
It's wrong for user-land programs to define _KERNEL before including
<sys/types.h>. The reason is that this will break the build for about
half of our ports, because the wrong variant of e.g. bswap16() is being
defined and referenced (either __bswap16() or bswap16()). Removing
the _KERNEL define restores buildability for this program.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/usr.bin/sockstat/sockstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index