Don't assume libusb headers are always in libusb-1.0.
Use pkg-config to add correct include paths for libusb regardless of the platform.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
package usb
|
||||
|
||||
/*
|
||||
#include <libusb-1.0/libusb.h>
|
||||
#include <libusb.h>
|
||||
|
||||
int submit(struct libusb_transfer *xfer);
|
||||
void print_xfer(struct libusb_transfer *xfer);
|
||||
|
Reference in New Issue
Block a user