From 93120a697ddd6a6e86102707f41cde3cb689a738 Mon Sep 17 00:00:00 2001 From: pooler Date: Fri, 12 Jul 2013 18:39:23 +0200 Subject: [PATCH] Include inttypes.h instead of stdint.h stdint.h is unavailable on some systems, such as Solaris 8 --- cpu-miner.c | 2 +- miner.h | 2 +- scrypt.c | 2 +- sha2.c | 2 +- util.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index e61eff8..6792c82 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/miner.h b/miner.h index 4aace44..c80080e 100644 --- a/miner.h +++ b/miner.h @@ -4,7 +4,7 @@ #include "cpuminer-config.h" #include -#include +#include #include #include #include diff --git a/scrypt.c b/scrypt.c index 06fd76a..f113c79 100644 --- a/scrypt.c +++ b/scrypt.c @@ -31,8 +31,8 @@ #include "miner.h" #include -#include #include +#include static const uint32_t keypad[12] = { 0x80000000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000280 diff --git a/sha2.c b/sha2.c index 8174735..d13a495 100644 --- a/sha2.c +++ b/sha2.c @@ -12,7 +12,7 @@ #include "miner.h" #include -#include +#include #if defined(__arm__) && defined(__APCS_32__) #define EXTERN_SHA256 diff --git a/util.c b/util.c index 794491e..4837721 100644 --- a/util.c +++ b/util.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include