From b4d5e2a9c92fe5b0f53c3d08b87c324960c3215c Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 12 May 2009 15:34:50 +0200 Subject: Don't unconditionally include config.h Since it isn't generated on all platforms or by all build systems. Problem reported by Aard. --- src/utils/sha256.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2