Skip to content

Instantly share code, notes, and snippets.

@lwertzui
Last active March 14, 2026 15:57
Show Gist options
  • Select an option

  • Save lwertzui/4f097b145c3a74ed7d126eca18c2f629 to your computer and use it in GitHub Desktop.

Select an option

Save lwertzui/4f097b145c3a74ed7d126eca18c2f629 to your computer and use it in GitHub Desktop.
libusb on freebsd
In C file:
```diff
- #include <libusb-1.0/libusb.h>
+ #include <libusb.h>
```
in Makefile:
```diff
- ... -lusb-1.0
+ ... -lusb
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment