summaryrefslogtreecommitdiff
path: root/src/utils/sha256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sha256.cpp')
-rw-r--r--src/utils/sha256.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index 4f23e01a..76763ec3 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -70,12 +70,14 @@
#include "utils/sha256.h"
+#include "config.h"
+
#include <memory.h>
-#ifdef HAS_STDINT
+#ifdef HAVE_STDINT_H
#include <stdint.h>
-#endif
-#ifndef HAS_STDINT
+#else
+typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
#endif