summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/finddc.h2
-rw-r--r--source4/libcli/finddcs_cldap.c2
-rw-r--r--source4/libnet/libnet_lookup.c6
-rw-r--r--source4/libnet/py_net.c6
-rw-r--r--source4/winbind/wb_dom_info.c2
5 files changed, 3 insertions, 15 deletions
diff --git a/source4/libcli/finddc.h b/source4/libcli/finddc.h
index 86e2f2c231..9ff17236c0 100644
--- a/source4/libcli/finddc.h
+++ b/source4/libcli/finddc.h
@@ -19,6 +19,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "lib/messaging/messaging.h"
+#include "libcli/libcli.h"
#include "libcli/netlogon.h"
struct finddcs {
diff --git a/source4/libcli/finddcs_cldap.c b/source4/libcli/finddcs_cldap.c
index 1928243283..293641b37f 100644
--- a/source4/libcli/finddcs_cldap.c
+++ b/source4/libcli/finddcs_cldap.c
@@ -23,8 +23,6 @@
#include "include/includes.h"
#include <tevent.h>
#include "libcli/resolve/resolve.h"
-#include "lib/messaging/messaging.h"
-#include "libcli/libcli.h"
#include "libcli/cldap/cldap.h"
#include "libcli/finddc.h"
#include "libcli/security/security.h"
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"
diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c
index c0d708ca91..608020d9a7 100644
--- a/source4/winbind/wb_dom_info.c
+++ b/source4/winbind/wb_dom_info.c
@@ -27,8 +27,6 @@
#include "winbind/wb_server.h"
#include "smbd/service_task.h"
#include "libcli/finddc.h"
-#include "param/param.h"
-#include "libcli/libcli.h"
struct get_dom_info_state {
struct composite_context *ctx;