diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_opermd5.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdio.h> +#include "inspircd_config.h" +#ifdef STDINT_H +#include <stdint.h> +#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<<s | 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 { |