Browse Source

adding path to libusb include

nelisky 14 years ago
parent
commit
c3bda2b709
3 changed files with 2 additions and 6 deletions
  1. 0 4
      cgminer.c
  2. 1 1
      libztex.h
  3. 1 1
      miner.h

+ 0 - 4
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,

+ 1 - 1
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

+ 1 - 1
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