[Nut-upsdev] Re: "make usb" fails

Charles Lepple clepple at gmail.com
Sun Apr 16 13:33:10 UTC 2006


On 4/14/06, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
> It fixes the error. But on the other hand, it throws a bunch of
> warnings, several times the following:
>
> In file included from newhidups.c:25:
> libhid.h:47: warning: redefinition of `u_int16_t'
> /usr/include/sys/types.h:198: warning: `u_int16_t' previously declared here

The problem is that the #ifdef checks for a preprocessor definition of
u_int16_t, whereas most of the time it will be defined with a typedef.

--
- Charles Lepple



More information about the Nut-upsdev mailing list