summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/lib/replace/replace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 811d0372e0..0f7b2d86d0 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -26,9 +26,7 @@
#undef SIZEOF_LONG
#endif
-#ifndef NO_CONFIG_H /* for some tests */
#include "lib/replace/replace.h"
-#endif
/* only do the C++ reserved word check when we compile
to include --with-developer since too many systems
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 8943c7d637..7a79f335e2 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -28,7 +28,9 @@
#ifndef _LIBREPLACE_REPLACE_H
#define _LIBREPLACE_REPLACE_H
+#ifndef NO_CONFIG_H
#include "config.h"
+#endif
#ifdef HAVE_STANDARDS_H
#include <standards.h>