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.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 4f0308ce52..1d07361a28 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -51,9 +51,7 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
+#elif HAVE_INTTYPES_H
#include <inttypes.h>
#endif
@@ -257,9 +255,7 @@ char *rep_mkdtemp(char *template);
#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
-#endif
-
-#ifndef HAVE_BOOL
+#elif !defined(HAVE_BOOL)
#define __bool_true_false_are_defined
typedef int bool;
#define false (0)