[Nut-upsdev] Finding libusb on FreeBSD 8.0
clepple at gmail.com
Thu Dec 24 19:05:34 UTC 2009
On Dec 24, 2009, at 1:34 PM, Arjen de Korte wrote:
> Citeren Charles Lepple <clepple at 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.
I don't think it's a regression from 6.4 - the same error shows up
I'll check again later, but the man page for uu_lock on 8.0 mentions
including both header files.
More information about the Nut-upsdev