On Fri, 25 Dec 2009, Arjen de Korte wrote: > Citeren Charles Lepple <[email protected]>: > > There also seems to be an issue finding uu_lock, but that probably > > just needs to include sys/types.h first. > > This seems to be a badly broken <libutil.h> header in FreeBSD 8.0. If > the stuff in <libutil.h> needs <sys/types.h> for it's type > definitions, this header should be #include'd in <libutil.h>, not > rely upon the compiler to do it for you. This used to work in FreeBSD > 6.4. I would say this is a FreeBSD bug.
It is a standard FreeBSD philosophy to make the programmer explicitly include a header required by another header (subject to certain historical things).. The idea being that the programmer explicitly knows what they are getting. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
