summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-19 03:04:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:46 -0500
commit8383eb53f49aaa5026cc9431a7eec3b086870d5c (patch)
tree7c4895236bdec273a95475298e270f34b04d722b /source3/lib/replace
parent4fa5a1c8453379e1b1bd39dea14b7e736b9ae41f (diff)
downloadsamba-8383eb53f49aaa5026cc9431a7eec3b086870d5c.tar.gz
samba-8383eb53f49aaa5026cc9431a7eec3b086870d5c.tar.bz2
samba-8383eb53f49aaa5026cc9431a7eec3b086870d5c.zip
r18671: try to fix the build on solaris 10 and maybe some other hosts
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined by <rpcsvc/yp_prot.h> metze (This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 688f08a51d..e6ba68f9ad 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -325,6 +325,7 @@ char *rep_mkdtemp(char *template);
#define bool _Bool
#else
#define __bool_true_false_are_defined
+#define BOOL_DEFINED /* needed for <rpcsvc/yp_prot.h> not doing a redefine */
typedef int bool;
#endif
#endif