diff options
| author | 2006-07-10 07:53:49 +0000 | |
|---|---|---|
| committer | 2006-07-10 07:53:49 +0000 | |
| commit | ec73fbb062f51581eddcde82b278049f83dce14e (patch) | |
| tree | 9a8c9a20d29074689287f2b467e0168eb7ba764c /src/modules/m_cloaking.cpp | |
| parent | Check for stdint.h (diff) | |
HAS_STDINT here too
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4265 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 989ec009a..596117ef8 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -33,13 +33,19 @@ using namespace std; #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> +#include "inspircd_config.h" +#ifdef HAS_STDINT #include <stdint.h> +#endif #include "users.h" #include "channels.h" #include "modules.h" /* $ModDesc: Provides masking of user hostnames */ +#ifndef HAS_STDINT +typedef unsigned int uint32_t; +#endif /* The four core functions - F1 is optimized somewhat */ |
