adding path to libusb include
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
diff --git a/cgminer.c b/cgminer.c
index 4f55e7f..01053ab 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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,
diff --git a/libztex.h b/libztex.h
index cadd773..dbcbe88 100644
--- a/libztex.h
+++ b/libztex.h
@@ -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
diff --git a/miner.h b/miner.h
index 12ae8a0..69abfe7 100644
--- a/miner.h
+++ b/miner.h
@@ -62,7 +62,7 @@ void *alloca (size_t);
#endif
#ifdef HAVE_LIBUSB
- #include <libusb.h>
+ #include <libusb-1.0/libusb.h>
#endif
#ifdef USE_ZTEX