summaryrefslogtreecommitdiffstats
path: root/source/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 06:36:19 +0000
committerAndrew Tridgell <tridge@samba.org>2005-07-14 06:36:19 +0000
commitf7b07cac7b66bcb41f6eb959ae2c384566bd0a8f (patch)
treefd83b5df3044f0d4fa857ee5ac03b3ffd3a58e3f /source/lib/replace
parent0bf57d677592ab129e5e8e4cde49bc1067cbbd58 (diff)
downloadsamba-f7b07cac7b66bcb41f6eb959ae2c384566bd0a8f.tar.gz
samba-f7b07cac7b66bcb41f6eb959ae2c384566bd0a8f.tar.xz
samba-f7b07cac7b66bcb41f6eb959ae2c384566bd0a8f.zip
r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
Diffstat (limited to 'source/lib/replace')
-rw-r--r--source/lib/replace/replace.h12
1 files changed, 12 insertions, 0 deletions
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