@@ -54,10 +54,6 @@
#include <sys/wait.h>
#endif
-#ifdef HAVE_LIBUSB
- #include <libusb.h>
-#endif
-
enum workio_commands {
WC_GET_WORK,
WC_SUBMIT_WORK,
@@ -22,7 +22,7 @@
#ifndef __LIBZTEX_H__
#define __LIBZTEX_H__
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
#define LIBZTEX_MAX_DESCRIPTORS 512
#define LIBZTEX_SNSTRING_LEN 10
@@ -62,7 +62,7 @@ void *alloca (size_t);
#ifdef HAVE_LIBUSB
+ #include <libusb-1.0/libusb.h>
#ifdef USE_ZTEX