Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a build issue on linux #13

Merged
merged 1 commit into from
Oct 29, 2022
Merged

fix a build issue on linux #13

merged 1 commit into from
Oct 29, 2022

Conversation

ffontaine
Copy link

On linux PATH_MAX is defined in linux/limits.h. If we include usb.h
without previously having indirectly included it, the build fails.

Signed-off-by: Bartosz Golaszewski brgl@bgdev.pl
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/libusb-compat/0002-fix-a-build-issue-on-linux.patch]
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

On linux PATH_MAX is defined in linux/limits.h. If we include usb.h
without previously having indirectly included it, the build fails.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/libusb-compat/0002-fix-a-build-issue-on-linux.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@mcuee mcuee added the Linux label Feb 18, 2021
@Neustradamus
Copy link

Dear @libusb team,

It is possible to look this PR?

@mcuee
Copy link
Member

mcuee commented Oct 29, 2022

@tormodvolden and @hjelmn
Please help to check if this is acceptable. Thanks.

@mcuee
Copy link
Member

mcuee commented Oct 29, 2022

Tested in my repo and it is okay.

@mcuee mcuee merged commit dcf9074 into libusb:master Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants