diff options
author | Ed Maste <emaste@FreeBSD.org> | 2024-02-03 16:46:53 -0500 |
---|---|---|
committer | Dominic Radermacher <dominic@familie-radermacher.ch> | 2024-02-11 10:34:28 +0100 |
commit | 8aaeecd84b619587dc3885dd4fea4b7310c82fd4 (patch) | |
tree | 317ff1f1468739ffc50ffc1ffcfe24e8e4215997 | |
parent | ad4e1541dee5de7ce8b19c153cd6666e85fe582f (diff) |
Add different libusb include path for FreeBSD
-rw-r--r-- | include/ptouch.h | 4 |
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 */ |