From 4d4e6a6eb172035dba31ecbc9582aa9b1a6d235f Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 22 Sep 2011 18:25:22 +0200 Subject: [PATCH] SHA256.cpp: Include some ZNC header first This is required to make sure that zncconfig.h is the very first header that is being included. This problem was noticed by someone reporting some "macro redefined" warnings. Signed-off-by: Uli Schlachter --- SHA256.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SHA256.cpp b/SHA256.cpp index 3ae4c8ce..3acd6164 100644 --- a/SHA256.cpp +++ b/SHA256.cpp @@ -31,10 +31,10 @@ * SUCH DAMAGE. */ -#include - #include "SHA256.h" +#include + #define SHFR(x, n) (x >> n) #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) #define ROTL(x, n) ((x << n) | (x >> ((sizeof(x) << 3) - n)))