From f7b07cac7b66bcb41f6eb959ae2c384566bd0a8f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Jul 2005 06:36:19 +0000 Subject: r8450: more configure tests for solaris. It now builds some binaries, but fails in the ejs floating point code. --- source/lib/replace/replace.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source/lib/replace/replace.h') diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h index 89225d3d651..48e46ba18e9 100644 --- a/source/lib/replace/replace.h +++ b/source/lib/replace/replace.h @@ -119,4 +119,16 @@ int asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3); typedef int (*comparison_fn_t)(const void *, const void *); #endif +#ifndef HAVE_U_INT32_T +typedef unsigned u_int32_t; +#endif + +#ifndef HAVE_U_INT16_T +typedef unsigned short u_int16_t; +#endif + +#ifndef HAVE_U_INT8_T +typedef unsigned char u_int8_t; +#endif + #endif -- cgit