Commit Graph

2 Commits (bb7065fbf98cf3d4478a48335938c438978ced26)

Author SHA1 Message Date
Bartosz Golaszewski ee9783a0b8 libusb-compat: fix a build issue with undefined PATH_MAX
libsigrok build failed because of PATH_MAX not being defined in usb.h.
On linux it is defined in linux/limits.h, but usb.h only includes
limit.h. Add a patch fixing the header in libusb-compat.

While we're at it: remove the patch numbering from previous patch.

Fixes: http://autobuild.buildroot.net/results/535/5353c2418c0c3311ef9ecb1f1ddc3ce769369b96/
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-04 18:44:31 +02:00
Gwenhael Goavec-Merou 8ac34ec980 libusb-compat: backport patch to use standard C99 types
Fixes:

  http://autobuild.buildroot.net/results/e63/e6360386a0a99900b83494924494ec40552d8dbe/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-11 14:52:05 +02:00