From 24b62772ab78a84d4a35f5eb15e327b6b76782b0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 22 Dec 2008 04:21:20 +0100 Subject: Remove includes of py_*.h, which are no longer generated. --- source4/lib/messaging/pymessaging.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/lib/messaging') diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 7a5fdb34bf..9f04bf0c6d 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -29,7 +29,6 @@ #include "lib/events/events.h" #include "cluster/cluster.h" #include "param/param.h" -#include "librpc/gen_ndr/py_irpc.h" PyAPI_DATA(PyTypeObject) messaging_Type; PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType; @@ -37,6 +36,9 @@ PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType; /* FIXME: This prototype should be in param/pyparam.h */ struct loadparm_context *py_default_loadparm_context(TALLOC_CTX *mem_ctx); +/* FIXME: This prototype should be in py_irpc.h, or shared otherwise */ +extern const struct PyNdrRpcMethodDef py_ndr_irpc_methods[]; + static bool server_id_from_py(PyObject *object, struct server_id *server_id) { if (!PyTuple_Check(object)) { -- cgit