From 03c2cabab2cca31731c4a2e1940a331d8fd7b7d7 Mon Sep 17 00:00:00 2001 From: Kano Date: Mon, 31 Dec 2012 23:46:03 +1100 Subject: [PATCH] BFL include all USB requirements --- miner.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/miner.h b/miner.h index f777a30d..5a6e89a1 100644 --- a/miner.h +++ b/miner.h @@ -114,7 +114,7 @@ static inline int fsync (int fd) #include "libztex.h" #endif -#ifdef USE_MODMINER +#if defined(USE_MODMINER) || defined(USE_BITFORCE) #include "usbutils.h" #endif @@ -374,13 +374,17 @@ struct cgpu_info { #ifdef USE_ZTEX struct libztex_device *device_ztex; #endif -#ifdef USE_MODMINER +#if defined(USE_MODMINER) || defined(USE_BITFORCE) struct cg_usb_device *usbdev; #endif +#ifdef USE_ICARUS int device_fd; +#endif }; -#ifdef USE_MODMINER +#if defined(USE_MODMINER) || defined(USE_BITFORCE) int usbstat; +#endif +#ifdef USE_MODMINER char fpgaid; unsigned char clock; pthread_mutex_t *modminer_mutex;