Browse Source

sha256_4way: do not include unnecessary headers, when !4way

Reported by lfm
Jeff Garzik 15 years ago
parent
commit
8ca6ffa8a9
1 changed files with 4 additions and 3 deletions
  1. 4 3
      sha256_4way.c

+ 4 - 3
sha256_4way.c

@@ -4,15 +4,16 @@
 
 
 // tcatm's 4-way 128-bit SSE2 SHA-256
 // tcatm's 4-way 128-bit SSE2 SHA-256
 
 
+#include "miner.h"
+
+#ifdef WANT_SSE2_4WAY
+
 #include <string.h>
 #include <string.h>
 #include <assert.h>
 #include <assert.h>
 
 
 #include <xmmintrin.h>
 #include <xmmintrin.h>
 #include <stdint.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <stdio.h>
-#include "miner.h"
-
-#ifdef WANT_SSE2_4WAY
 
 
 #define NPAR 32
 #define NPAR 32