summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2c67a75ab3..8276053846 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -22,6 +22,11 @@
#include "../replace/replace.h"
+#if _SAMBA_BUILD_ == 4
+# undef _SAMBA_BUILD_
+# define _SAMBA_BUILD_ 3
+#endif
+
/* make sure we have included the correct config.h */
#ifndef NO_CONFIG_H /* for some tests */
#ifndef CONFIG_H_IS_FROM_SAMBA