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

1.9.0 build error with musl libc #787

Closed
rofl0r opened this issue Dec 5, 2018 · 1 comment
Closed

1.9.0 build error with musl libc #787

rofl0r opened this issue Dec 5, 2018 · 1 comment

Comments

@rofl0r
Copy link

rofl0r commented Dec 5, 2018

./pcap-usb-linux.c: In function 'usb_findalldevs':
./pcap-usb-linux.c:264:19: error: 'PATH_MAX' undeclared (first use in this function)
  char usb_mon_dir[PATH_MAX];
                   ^~~~~~~~
./pcap-usb-linux.c:264:19: note: each undeclared identifier is reported only once for each function it appears in
./pcap-usb-linux.c: In function 'probe_devices':
./pcap-usb-linux.c:419:41: error: 'NAME_MAX' undeclared (first use in this function)
  char buf[sizeof("/dev/bus/usb/000/") + NAME_MAX];
                                         ^~~~~~~~

looks as if <limits.h> isn't included as it should

@guyharris
Copy link
Member

Dup of pull request #735.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants