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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-09-22 18:25:22 +02:00
parent 08cc624bcc
commit 4d4e6a6eb1
+2 -2
View File
@@ -31,10 +31,10 @@
* SUCH DAMAGE.
*/
#include <string.h>
#include "SHA256.h"
#include <string.h>
#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)))