From d8aba7e60bc276d12f209466fa308aa56fa736e5 Mon Sep 17 00:00:00 2001 From: om Date: Mon, 10 Jul 2006 07:06:37 +0000 Subject: Add HAS_STDINT checks here, this had been sitting not in extra/ and using stdint.h for aaaages anyway... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4264 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index b9b9f4402..33e41355c 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -31,7 +31,10 @@ #include #include #include +#include "inspircd_config.h" +#ifdef HAS_STDINT #include +#endif #include "inspircd.h" #include "users.h" #include "channels.h" @@ -48,6 +51,10 @@ #define F4(x, y, z) (y ^ (x | ~z)) #define MD5STEP(f,w,x,y,z,in,s) (w += f(x,y,z) + in, w = (w<>(32-s)) + x) +#ifndef HAS_STDINT +typedef unsigned int uint32_t; +#endif + typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ typedef unsigned char byte; -- cgit v1.2.3