diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-12 19:13:51 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-12 20:06:24 +0100 |
commit | 34c5bdc1c329a2f3b4ab3a4dfff4c747f2910379 (patch) | |
tree | 48372060dbc4fef4d3d5a4291531dce84917e8e9 /source4/libnet | |
parent | 721c3b1c4ba75f9fc846483af325615e0d0420f0 (diff) | |
download | samba-34c5bdc1c329a2f3b4ab3a4dfff4c747f2910379.tar.gz samba-34c5bdc1c329a2f3b4ab3a4dfff4c747f2910379.tar.bz2 samba-34c5bdc1c329a2f3b4ab3a4dfff4c747f2910379.zip |
s4:libcli/finddc.h - fix header dependancies
And optimise includes
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_lookup.c | 6 | ||||
-rw-r--r-- | source4/libnet/py_net.c | 6 |
2 files changed, 1 insertions, 11 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index 272a3fad41..f9379405d0 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -22,19 +22,13 @@ */ #include "includes.h" -#include "lib/events/events.h" #include "libnet/libnet.h" #include "libcli/composite/composite.h" #include "auth/credentials/credentials.h" -#include "lib/messaging/messaging.h" -#include "lib/messaging/irpc.h" #include "libcli/resolve/resolve.h" -#include "libcli/libcli.h" #include "libcli/finddc.h" #include "libcli/security/security.h" -#include "librpc/gen_ndr/lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" - #include "param/param.h" struct lookup_state { diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 9f53f8949a..28dee5935d 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -18,19 +18,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <Python.h> +#include "lib/ldb/pyldb.h" #include "includes.h" #include "libnet.h" #include "auth/credentials/pycredentials.h" #include "libcli/security/security.h" #include "lib/events/events.h" -#include "param/param.h" #include "param/pyparam.h" -#include "lib/ldb/pyldb.h" #include "auth/gensec/gensec.h" -#include "librpc/rpc/pyrpc.h" #include "librpc/rpc/pyrpc_util.h" -#include "lib/messaging/messaging.h" #include "libcli/finddc.h" #include "libcli/resolve/resolve.h" |