? .hg
? 2010.08.03
? SQLServerIntroduction.docx.ps
? aclocal.m4
? allow_insane_bans.patch
? autom4te.cache
? bcn.ircd.motd
? cache
? config.settings.bac
? config.settings.system
? gwz-windows-loadmodule-patch2.patch
? gwz-windows-nogencert.patch
? hidle.patch
? ircd.log
? ircd.pid
? ircd.tune
? location.conf
? motd.txt
? nopost-1.1
? nopost.tar.gz
? patch1.patch
? robots.txt
? server.cert.pem
? server.key.pem
? server.req.pem
? smotd.txt
? tmp
? unreal-makefile-cleaner-recursive.patch
? unreal-poll.diff
? unrealircd.conf
? valgrind.unreal.suppress
? doc/AntiRandom
? extras/c-ares
? extras/c-ares-1.6.0
? extras/c-ares-1.7.3
? extras/c-ares-1.7.3.tar.gz.asc
? extras/c-ares.tar
? extras/regexp
? extras/tre-0.7.5
? extras/tre-0.8.0
? extras/tre.tar
? ircdcron/ircd.cron
? src/modules/antirandom.c
? src/modules/callerid.c
? src/modules/m_dnsbl.tar.gz
? src/modules/m_gqline.c
? src/modules/m_soper.c
? src/modules/nopost-1.1
? src/modules/nopost.tar.gz
? src/modules/testchanmodehook.c
Index: configure
===================================================================
RCS file: /cvs/unreal/Attic/configure,v
retrieving revision 1.1.2.96.2.53
diff -u -B -r1.1.2.96.2.53 configure
===================================================================
RCS file: /cvs/unreal/Attic/configure.ac,v
retrieving revision 1.1.2.14
diff -u -B -r1.1.2.14 configure.ac
--- configure.ac	19 Dec 2010 16:38:07 -0000	1.1.2.14
+++ configure.ac	20 Dec 2010 05:08:31 -0000
@@ -188,6 +188,7 @@
 	AC_DEFINE([RUSAGEH], [], [Define if you have the <sys/rusage.h> header file.]))
 AC_CHECK_HEADER(glob.h,
 	AC_DEFINE([GLOBH], [], [Define if you have the <glob.h> header file.]))
+AC_CHECK_HEADERS([stdint.h inttypes.h])
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_C_INLINE
Index: include/sys.h
===================================================================
RCS file: /cvs/unreal/include/sys.h,v
retrieving revision 1.1.1.1.6.1.2.27.2.12
diff -u -B -r1.1.1.1.6.1.2.27.2.12 sys.h
--- include/sys.h	12 Dec 2010 16:37:34 -0000	1.1.1.1.6.1.2.27.2.12
+++ include/sys.h	20 Dec 2010 05:08:31 -0000
@@ -70,6 +70,16 @@
 # include <string.h>
 # endif
 #endif
+
+/* get intptr_t if the system provides it -- otherwise, ./configure will define it for us */
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#else
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif /* HAVE_INTTYPES_H */
+#endif /* HAVE_STDINT_H */
+
 #ifdef SSL
 #include <openssl/ssl.h>
 #endif
