diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-29 08:35:30 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-29 21:34:29 +1100 |
commit | 7ed349caceed2524d897d957cee98ad1cdc4704c (patch) | |
tree | 1c82cc0261e6083e6f16a813483c7c7712fdf8c1 /source4/param | |
parent | 08faa3a43c26f8cc637969d2b216f2efea9099d9 (diff) | |
download | samba-7ed349caceed2524d897d957cee98ad1cdc4704c.tar.gz |
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/param')
-rw-r--r-- | source4/param/pyparam.c | 2 | ||||
-rw-r--r-- | source4/param/pyparam_util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index 4b534fbb417..40d25f7dcd7 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -21,7 +21,7 @@ #include "includes.h" #include "param/param.h" #include "param/loadparm.h" -#include "pytalloc.h" +#include "lib/talloc/pytalloc.h" /* There's no Py_ssize_t in 2.4, apparently */ #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5 diff --git a/source4/param/pyparam_util.c b/source4/param/pyparam_util.c index e5c416bf843..cc84395ea01 100644 --- a/source4/param/pyparam_util.c +++ b/source4/param/pyparam_util.c @@ -21,7 +21,7 @@ #include "includes.h" #include "param/param.h" #include "param/loadparm.h" -#include "pytalloc.h" +#include "lib/talloc/pytalloc.h" #define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context) |