From 8d966fac41ff88f8c26c221fb03da4f9afba5897 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 2 Jun 2009 15:00:41 +0200 Subject: Fix unresolved symbol in python messaging module. --- source4/lib/messaging/config.mk | 2 +- source4/lib/messaging/pymessaging.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/lib/messaging') diff --git a/source4/lib/messaging/config.mk b/source4/lib/messaging/config.mk index b5b1e6d1e3..1cdbbc6d76 100644 --- a/source4/lib/messaging/config.mk +++ b/source4/lib/messaging/config.mk @@ -13,6 +13,6 @@ MESSAGING_OBJ_FILES = $(libmessagingsrcdir)/messaging.o [PYTHON::python_messaging] LIBRARY_REALNAME = samba/messaging.$(SHLIBEXT) -PRIVATE_DEPENDENCIES = MESSAGING LIBEVENTS python_irpc +PRIVATE_DEPENDENCIES = MESSAGING LIBEVENTS python_irpc pyparam_util python_messaging_OBJ_FILES = $(libmessagingsrcdir)/pymessaging.o diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 96981895b6..33ccf782e9 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -29,6 +29,7 @@ #include "lib/events/events.h" #include "cluster/cluster.h" #include "param/param.h" +#include "param/pyparam.h" #ifndef Py_RETURN_NONE #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None @@ -37,9 +38,6 @@ PyAPI_DATA(PyTypeObject) messaging_Type; 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[]; -- cgit