Browse Source

adding path to libusb include

nfactor-troky
nelisky 13 years ago
parent
commit
c3bda2b709
  1. 4
      cgminer.c
  2. 2
      libztex.h
  3. 2
      miner.h

4
cgminer.c

@ -54,10 +54,6 @@ @@ -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,

2
libztex.h

@ -22,7 +22,7 @@ @@ -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

2
miner.h

@ -62,7 +62,7 @@ void *alloca (size_t); @@ -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

Loading…
Cancel
Save