DragonFly commits List (threaded) for 2010-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Unbreak buildworld.
commit bfc2d750ac919e19b27f24c22cedba1b2ed5351a
Author: Sascha Wildner <saw@online.de>
Date: Sun Jan 3 14:25:32 2010 +0100
Unbreak buildworld.
The inclusion of <sys/eventvar.h> in <sys/proc.h> in commit
a591f597ce2a2a0d1c8edc23e0445acfbd8a0852 broke some things
in userland.
<kinfo.h> defines _KERNEL_STRUCTURES. If, however, some file included
before <kinfo.h> has code under _KERNEL_STRUCTURES that is needed by
files which come _after_ _KERNEL_STRUCTURES is defined by <kinfo.h>,
we break.
In netstat(1), the solution is to remove the inclusion of <sys/protosw.h>
(which comes in again via <net/netmsg.h> later after <kinfo.h> is
included) in route.c.
In sockstat(1), in lieu of a better solution, we just define
_KERNEL_STRUCTURES early for now.
Reported-by: lentferj
Summary of changes:
usr.bin/netstat/route.c | 1 -
usr.bin/sockstat/sockstat.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bfc2d750ac919e19b27f24c22cedba1b2ed5351a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]