summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_lookup.c6
-rw-r--r--source4/libnet/py_net.c6
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"