libusb-compat: fix a build issue with undefined PATH_MAX
authorBartosz Golaszewski <brgl@bgdev.pl>
Mon, 3 Jul 2017 14:16:52 +0000 (16:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 16:44:31 +0000 (18:44 +0200)
commitee9783a0b8927fee4801e4f05975d4db04b3c61b
treea63e891d95065584e3047fdc89c9080a2cb9e026
parent0ae2cab4167cb978718dcbfe9fa006b126522b65
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>
package/libusb-compat/0001-Use-C99-standard-fixed-width-integer-types-in-usb.h.patch
package/libusb-compat/0002-fix-a-build-issue-on-linux.patch [new file with mode: 0644]