summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h4
-rw-r--r--source3/nmbd/nmbd.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 7626a53abc..a17e014ca9 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -762,10 +762,6 @@ enum flush_reason_enum {
#define PASSWORD_LENGTH 8
#endif
-#ifndef HAVE_PIPE
-#define SYNC_DNS 1
-#endif
-
#if defined(HAVE_CRYPT16) && defined(HAVE_GETAUTHUID)
#define ULTRIX_AUTH 1
#endif
diff --git a/source3/nmbd/nmbd.h b/source3/nmbd/nmbd.h
index 0e8d12edf8..6ccbd930fb 100644
--- a/source3/nmbd/nmbd.h
+++ b/source3/nmbd/nmbd.h
@@ -1,2 +1,5 @@
+#ifndef HAVE_PIPE
+#define SYNC_DNS 1
+#endif
#include "nmbd/nmbd_proto.h"