Hi Álvaro,
I see. The proper place to fix it is flashrom, it needs to include
sys/types.h before including libusb headers and its Makefile needs to
define -D_GNU_SOURCE or -std=gnu99
Regards,
Jow
___
openwrt-devel mailing list
Hi Jow,
I didn't mean to use that commit description, but something like fix musl
compatibility.
You're right, libusb-compat builds without issues, but when flashrom checks for
libusb-compat it fails due to u_int*_t types:
Hi Álvaro,
hmm, I have no issues building it under musl here. The buildbots seems
to report no errors either.
Can you provide a diffconfig.sh output?
Btw, you do not need to replace all types, u_int{8,16,32,64}_t is
exposed by musl if you include sys/types.h *and* if _GNU_SOURCE is
defined.
~