aboutsummaryrefslogtreecommitdiff
path: root/sha256_cryptopp.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-03-20 22:44:25 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-03-20 22:44:25 -0400
commit23e9cf91f09fa3ec364b439787f768f314780b85 (patch)
tree21ee62f827e5447d76b2ff0a57c0d5cd1d11795d /sha256_cryptopp.c
parent24afd61775b957009619e0d3a5948492bdf5539e (diff)
Ensure cpuminer-config.h is universally included, in *.c and *.h alike.
In miner.h, this fixes an alloca-definition-related warning. For the other files, this is simply future-proofing/precaution.
Diffstat (limited to 'sha256_cryptopp.c')
-rw-r--r--sha256_cryptopp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sha256_cryptopp.c b/sha256_cryptopp.c
index 76e178c..ed83dfc 100644
--- a/sha256_cryptopp.c
+++ b/sha256_cryptopp.c
@@ -1,4 +1,6 @@
+#include "cpuminer-config.h"
+
#include <stdint.h>
#include <stdbool.h>
#include <string.h>