From 045d266246f5ab996777561e4af38ec9cadeb15a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 02:32:27 +0000 Subject: [PATCH] #ifdef's around stdint.h include git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4260 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_opermd5.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp index b28679372..c5ac5a0ee 100644 --- a/src/modules/m_opermd5.cpp +++ b/src/modules/m_opermd5.cpp @@ -19,6 +19,10 @@ using namespace std; #include +#include "inspircd_config.h" +#ifdef STDINT_H +#include +#endif #include "users.h" #include "channels.h" #include "modules.h" @@ -34,7 +38,7 @@ using namespace std; #define MD5STEP(f,w,x,y,z,in,s) \ (w += f(x,y,z) + in, w = (w<>(32-s)) + x) -typedef unsigned int word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ +typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ typedef unsigned char byte; struct MD5Context { -- 2.39.2