summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 06:36:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:04 -0500
commitaf0574378b3e73ffe637618e2f504d58735d6543 (patch)
tree9b2324820e185fc56bbb8e9a9be0bc172d17c6ea /source4/lib/replace
parent7175419589455001f473926d574e1ca3359089ee (diff)
downloadsamba-af0574378b3e73ffe637618e2f504d58735d6543.tar.gz
samba-af0574378b3e73ffe637618e2f504d58735d6543.tar.bz2
samba-af0574378b3e73ffe637618e2f504d58735d6543.zip
r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code. (This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/replace.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 89225d3d65..48e46ba18e 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/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