[Nut-upsdev] Finding libusb on FreeBSD 8.0

Arjen de Korte nut+devel at de-korte.org
Thu Dec 24 18:34:23 UTC 2009


Citeren Charles Lepple <clepple op gmail.com>:

> 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.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list