summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-27 00:07:25 +0200
committerGünther Deschner <gd@samba.org>2010-09-20 14:10:34 -0700
commitd0a6c32add2e934174771750cdc1893f146d53cf (patch)
tree3cc8ea6b995997c0a86b8ccb8ab6d5e1e3587eb0
parent102a70e809b262fca8ea09fbd4e2788511150006 (diff)
downloadsamba-d0a6c32add2e934174771750cdc1893f146d53cf.tar.gz
samba-d0a6c32add2e934174771750cdc1893f146d53cf.tar.bz2
samba-d0a6c32add2e934174771750cdc1893f146d53cf.zip
s3-nmbd: move SYNC_DNS to nmbd.h
Guenther
-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"