Leander Hutton writes:
Did some comparing between the Debian version of usb.h and Fedora. The
usb.h on Debian included sys/param.h and the Fedora version omits this.
/usr/include/usb.h is installed by the libusb 0.1.5, a comparatively old
version
sys/param.h then includes sys/types.h, so
On 3/29/19 11:29 PM, Sam Varshavchik wrote:
> A brief grep finds these typedefs defined in :
>
> #include
>
> typedef u_int8_t foo;
>
>
> This compiles just fine.
>
> So, I surmise that the code in question was using something that itself
> includes sys/types.h, but whatever that is, the
Leander Hutton writes:
I have libusb-devel installed and /usr/include/usb.h and
/usr/include/stdint.h are both present. Running the included makefile
for the Linux build just dumps unknown type name errors for u_int8_t and
u_int16_t:
/usr/include/usb.h:81:2: error: unknown type name ‘u_int8_t’