diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_cloaking.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> +#include "inspircd_config.h" +#ifdef HAS_STDINT #include <stdint.h> +#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<<s | 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; |