summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-29 08:35:30 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-29 21:34:29 +1100
commit7ed349caceed2524d897d957cee98ad1cdc4704c (patch)
tree1c82cc0261e6083e6f16a813483c7c7712fdf8c1 /source4/auth
parent08faa3a43c26f8cc637969d2b216f2efea9099d9 (diff)
downloadsamba-7ed349caceed2524d897d957cee98ad1cdc4704c.tar.gz
samba-7ed349caceed2524d897d957cee98ad1cdc4704c.tar.bz2
samba-7ed349caceed2524d897d957cee98ad1cdc4704c.zip
pytalloc: allow for using a system libtalloc-dev with pytalloc
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/pycredentials.h2
-rw-r--r--source4/auth/gensec/pygensec.c2
-rw-r--r--source4/auth/pyauth.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/credentials/pycredentials.h b/source4/auth/credentials/pycredentials.h
index b1040c6079..6d03ca158b 100644
--- a/source4/auth/credentials/pycredentials.h
+++ b/source4/auth/credentials/pycredentials.h
@@ -20,7 +20,7 @@
#define _PYCREDENTIALS_H_
#include "auth/credentials/credentials.h"
-#include "pytalloc.h"
+#include "lib/talloc/pytalloc.h"
PyAPI_DATA(PyTypeObject) PyCredentials;
PyAPI_DATA(PyTypeObject) PyCredentialCacheContainer;
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index 21acff8136..381938c25a 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -22,7 +22,7 @@
#include "auth/gensec/gensec.h"
#include "libcli/util/pyerrors.h"
#include "scripting/python/modules.h"
-#include "pytalloc.h"
+#include "lib/talloc/pytalloc.h"
#include <tevent.h>
static PyObject *py_get_name_by_authtype(PyObject *self, PyObject *args)
diff --git a/source4/auth/pyauth.h b/source4/auth/pyauth.h
index f5c63392ac..f3c9cea73d 100644
--- a/source4/auth/pyauth.h
+++ b/source4/auth/pyauth.h
@@ -20,7 +20,7 @@
#ifndef _PYAUTH_H_
#define _PYAUTH_H_
-#include "pytalloc.h"
+#include "lib/talloc/pytalloc.h"
#include "auth/session.h"
PyAPI_DATA(PyTypeObject) PyAuthSession;