summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-11 11:38:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:24 -0500
commit9830fc431babfe251ab079087b58ea55120a515d (patch)
treeafdaea85cc386cf119e1890bf5056c6059fb947e /source3
parent960894349ffac47fabb33436bcefa979a01108fb (diff)
downloadsamba-9830fc431babfe251ab079087b58ea55120a515d.tar.gz
samba-9830fc431babfe251ab079087b58ea55120a515d.tar.bz2
samba-9830fc431babfe251ab079087b58ea55120a515d.zip
r19240: move the NO_CONFIG_H check to libreplace
this fixes the quota detection configure and maybe more configure tests metze (This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)
Diffstat (limited to 'source3')
-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>