summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/python
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/posix/python')
-rw-r--r--source4/ntvfs/posix/python/pyxattr_native.c2
-rw-r--r--source4/ntvfs/posix/python/pyxattr_tdb.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/python/pyxattr_native.c b/source4/ntvfs/posix/python/pyxattr_native.c
index 7dcb5dd37a..caec115c05 100644
--- a/source4/ntvfs/posix/python/pyxattr_native.c
+++ b/source4/ntvfs/posix/python/pyxattr_native.c
@@ -23,6 +23,8 @@
#include "librpc/ndr/libndr.h"
#include "lib/util/wrap_xattr.h"
+void initxattr_native(void);
+
static PyObject *py_is_xattr_supported(PyObject *self)
{
#if !defined(HAVE_XATTR_SUPPORT)
diff --git a/source4/ntvfs/posix/python/pyxattr_tdb.c b/source4/ntvfs/posix/python/pyxattr_tdb.c
index 195c8db967..5e72ac9dde 100644
--- a/source4/ntvfs/posix/python/pyxattr_tdb.c
+++ b/source4/ntvfs/posix/python/pyxattr_tdb.c
@@ -27,6 +27,8 @@
#include "ntvfs/posix/vfs_posix.h"
#include "libcli/util/pyerrors.h"
+void initxattr_tdb(void);
+
static PyObject *py_is_xattr_supported(PyObject *self)
{
return Py_True;