FreeBSD Bugzilla – Bug 46094
sysutils/xmbmon doesn't build on 5.0-RC
Last modified: 2002-12-10 17:05:10 UTC
getMB-isa.c, getMB-smb.c, and getMB-via.c all #include machine/cpufunc.h
without first including sys/types.h. This causes it to not build, as
'u_int' is used in cpufunc.h and not declared in anything it includes.
add "#include <sys/types.h>" before "#include <machine/cpufunc.h>"
in the files listed above.
How-To-Repeat: cd /usr/ports/sysutils/xmbmon && make