From 8ca85197f76ffebcb0d5341b1120b3dcfecfd2d1 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 25 Oct 2004 03:31:33 +0000 Subject: 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 --- include/sysconf.h.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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; -- cgit