summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;