summaryrefslogtreecommitdiff
path: root/source4/lib/replace/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/snprintf.c')
-rw-r--r--source4/lib/replace/snprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/replace/snprintf.c b/source4/lib/replace/snprintf.c
index eaa5eec405..8182f83751 100644
--- a/source4/lib/replace/snprintf.c
+++ b/source4/lib/replace/snprintf.c
@@ -103,11 +103,11 @@
*
**************************************************************/
-#ifndef NO_CONFIG_H
+#ifdef _SAMBA_BUILD_
#include "config.h"
#else
-#define NULL 0
-#endif
+#include "replace_config.h"
+#endif
#ifdef TEST_SNPRINTF /* need math library headers for testing */