Commit c3bda2b709d8126b5fb20f54fb29bae603de3de1

nelisky 2012-03-14T10:34:29

adding path to libusb include

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