summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ptouch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ptouch.h b/include/ptouch.h
index c38a20a..5c007c7 100644
--- a/include/ptouch.h
+++ b/include/ptouch.h
@@ -18,7 +18,11 @@
*/
#include <stdint.h>
+#ifdef __FreeBSD__
+#include <libusb.h>
+#else
#include <libusb-1.0/libusb.h>
+#endif
struct _pt_tape_info {
uint8_t mm; /* Tape width in mm */