summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 218fd4cb2a..bc1be38de0 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -202,7 +202,9 @@ int rep_mkstemp(char *temp);
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
-#else
+#endif
+
+#ifndef HAVE_BOOL
#define __bool_true_false_are_defined
typedef bool int;
#define false (0)