summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-06-25 19:39:16 +0000
committerGerald Carter <jerry@samba.org>2003-06-25 19:39:16 +0000
commit99a467662ae5f9e4c493b69a172a88a6f146c72c (patch)
tree790034f65be48b71ce311cba44a2ee00c508c40f
parent0118f6b41757897dc087f79da53d3fe2f4f42e7e (diff)
downloadsamba-99a467662ae5f9e4c493b69a172a88a6f146c72c.tar.gz
samba-99a467662ae5f9e4c493b69a172a88a6f146c72c.tar.bz2
samba-99a467662ae5f9e4c493b69a172a88a6f146c72c.zip
fix build on non-ldap platforms
(This used to be commit a59ea1d6d32337226f6099eefd19681fb28279c0)
-rw-r--r--source3/include/smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 955a7cfa74..f18391516f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1619,6 +1619,9 @@ typedef struct {
#include "popt_common.h"
#define PORT_NONE 0
+#ifndef LDAP_PORT
+#define LDAP_PORT 389
+#endif
/* used by the IP comparison function */
struct ip_service {