summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 02:32:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 02:32:27 +0000
commit045d266246f5ab996777561e4af38ec9cadeb15a (patch)
tree96cb0177fabd390d3ada77e116e7d72da2138353
parent3f1bff4b2d95443156a26237e0a870bacba3fc09 (diff)
#ifdef's around stdint.h include
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4260 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_opermd5.cpp6
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 {