summaryrefslogtreecommitdiff
path: root/include/sysconf.h.in
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-25 03:31:33 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-25 03:31:33 +0000
commit8ca85197f76ffebcb0d5341b1120b3dcfecfd2d1 (patch)
tree0a34b2f3d88809806d94ac6901d8c77be4479c26 /include/sysconf.h.in
parent593b0d1799bc40a09230b904c88d22c1fe5f860e (diff)
BUILD : 1.7.5 (423) BUGS : N/A NOTES : code tidy up fixes stuff under Freebsd
git-svn-id: svn://svn.anope.org/anope/trunk@423 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@281 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/sysconf.h.in')
-rw-r--r--include/sysconf.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sysconf.h.in b/include/sysconf.h.in
index dcb6f2dbe..b91fe641e 100644
--- a/include/sysconf.h.in
+++ b/include/sysconf.h.in
@@ -214,9 +214,14 @@ int vfprintf(FILE *stream, const char *format, va_list ap);
int vsprintf(char *str, const char *format, va_list ap);
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
+/* Freebsd 5.2.1 actually has u_char those it throws more
+ errors having it defined again - TSL */
+#ifndef HAS_SYS_TYPES_H
typedef unsigned char u_char;
#endif
+#endif
+
typedef int16_t int16;
typedef u_int16_t uint16;