summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-12 15:34:50 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-12 15:35:50 +0200
commitb4d5e2a9c92fe5b0f53c3d08b87c324960c3215c (patch)
treedc766f6c7346a8a3f1421af3a6390e357104bf9d /src
parentd9813185f0f91a4254579ce04a3fe96bf13fe694 (diff)
downloadmana-b4d5e2a9c92fe5b0f53c3d08b87c324960c3215c.tar.gz
mana-b4d5e2a9c92fe5b0f53c3d08b87c324960c3215c.tar.bz2
mana-b4d5e2a9c92fe5b0f53c3d08b87c324960c3215c.tar.xz
mana-b4d5e2a9c92fe5b0f53c3d08b87c324960c3215c.zip
Don't unconditionally include config.h
Since it isn't generated on all platforms or by all build systems. Problem reported by Aard.
Diffstat (limited to 'src')
-rw-r--r--src/utils/sha256.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index 76763ec3..b9d5c810 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -70,7 +70,9 @@
#include "utils/sha256.h"
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <memory.h>