diff options
author | Günther Deschner <gd@samba.org> | 2010-07-02 00:32:52 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-05 00:32:02 +0200 |
commit | e7a6a3ec0da01666c8e0c9772007ce7146df9d75 (patch) | |
tree | f1348f256cea7f8a4f898ed1df14b531e7fda52b /source3/lib | |
parent | 385adcce732e3a0788ce935fbc76363feb9ff22f (diff) | |
download | samba-e7a6a3ec0da01666c8e0c9772007ce7146df9d75.tar.gz samba-e7a6a3ec0da01666c8e0c9772007ce7146df9d75.tar.bz2 samba-e7a6a3ec0da01666c8e0c9772007ce7146df9d75.zip |
s3: avoid global include of ads.h.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/joindomain.c | 2 | ||||
-rw-r--r-- | source3/lib/smbldap.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c index 336f9dc783..94de573395 100644 --- a/source3/lib/netapi/joindomain.c +++ b/source3/lib/netapi/joindomain.c @@ -18,7 +18,7 @@ */ #include "includes.h" - +#include "ads.h" #include "librpc/gen_ndr/libnetapi.h" #include "lib/netapi/netapi.h" #include "lib/netapi/netapi_private.h" diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index a4d26fa8b6..b1571536eb 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -25,10 +25,6 @@ #include "includes.h" #include "smbldap.h" -#ifndef LDAP_OPT_SUCCESS -#define LDAP_OPT_SUCCESS 0 -#endif - /* Try not to hit the up or down server forever */ #define SMBLDAP_DONT_PING_TIME 10 /* ping only all 10 seconds */ |