aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-12-06 00:59:59 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-12-06 00:59:59 -0500
commit8ca6ffa8a92ed50de916fbbc95c9c6900bd71ef8 (patch)
treeb781e920def0b154287e487bf9bd897875f38e19
parent6b5fb469cc04f81249cff4db604738c80a6a2590 (diff)
sha256_4way: do not include unnecessary headers, when !4way
Reported by lfm
-rw-r--r--sha256_4way.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sha256_4way.c b/sha256_4way.c
index f91bb0f..5ffe1c8 100644
--- a/sha256_4way.c
+++ b/sha256_4way.c
@@ -4,15 +4,16 @@
// tcatm's 4-way 128-bit SSE2 SHA-256
+#include "miner.h"
+
+#ifdef WANT_SSE2_4WAY
+
#include <string.h>
#include <assert.h>
#include <xmmintrin.h>
#include <stdint.h>
#include <stdio.h>
-#include "miner.h"
-
-#ifdef WANT_SSE2_4WAY
#define NPAR 32