Browse Source

Merge commit '3d835fc' into cg_merges_20130524b

Conflicts:
	Makefile.am
	configure.ac
Luke Dashjr 13 years ago
parent
commit
b6f22fdb65
2 changed files with 4 additions and 1 deletions
  1. 1 1
      Makefile.am
  2. 3 0
      miner.c

+ 1 - 1
Makefile.am

@@ -118,7 +118,7 @@ bfgminer_SOURCES += driver-cairnsmore.c
 endif
 endif
 
 
 if HAS_AVALON
 if HAS_AVALON
-bfgminer_SOURCES += driver-avalon.c
+bfgminer_SOURCES += driver-avalon.c driver-avalon.h
 endif
 endif
 
 
 if HAS_MODMINER
 if HAS_MODMINER

+ 3 - 0
miner.c

@@ -59,7 +59,10 @@
 #include "driver-opencl.h"
 #include "driver-opencl.h"
 #include "bench_block.h"
 #include "bench_block.h"
 #include "scrypt.h"
 #include "scrypt.h"
+
+#ifdef USE_AVALON
 #include "driver-avalon.h"
 #include "driver-avalon.h"
+#endif
 
 
 #ifdef USE_X6500
 #ifdef USE_X6500
 #include "ft232r.h"
 #include "ft232r.h"