summaryrefslogtreecommitdiff
path: root/src/utils/sha256.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-07 20:55:46 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-07 20:56:33 +0200
commitaf09f9d13118eaf17fb6cebcf86ee8100003d834 (patch)
tree9691fcf2748190740cfc9362999ba575bdfc4844 /src/utils/sha256.cpp
parent0e76874a58e1d5d7065077b33b26312f2d873aea (diff)
downloadmana-af09f9d13118eaf17fb6cebcf86ee8100003d834.tar.gz
mana-af09f9d13118eaf17fb6cebcf86ee8100003d834.tar.bz2
mana-af09f9d13118eaf17fb6cebcf86ee8100003d834.tar.xz
mana-af09f9d13118eaf17fb6cebcf86ee8100003d834.zip
Fixed compile issue with gcc 4.4
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