diff options
-rw-r--r-- | source4/dsdb/pydsdb.c | 2 | ||||
-rw-r--r-- | source4/libnet/py_net.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c index 1a51b86455..895bd9a560 100644 --- a/source4/dsdb/pydsdb.c +++ b/source4/dsdb/pydsdb.c @@ -29,6 +29,8 @@ #include "librpc/rpc/pyrpc_util.h" #include "lib/policy/policy.h" +void initdsdb(void); + /* There's no Py_ssize_t in 2.4, apparently */ #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5 typedef int Py_ssize_t; diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 514f9dfe3c..b7f7d9eaaf 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -32,6 +32,8 @@ #include "libcli/finddc.h" #include "libcli/resolve/resolve.h" +void initnet(void); + typedef struct { PyObject_HEAD TALLOC_CTX *mem_ctx; |