summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-12 00:08:55 +0000
committerTim Potter <tpot@samba.org>2002-12-12 00:08:55 +0000
commitd3f53e7f4ed6682b78b8314742248d8a5f2f040b (patch)
treebe484e02affda3488ef47034cbc8c93c979ed0a2
parent39c78bf516f4db59fd3c218f67d13dd658daf558 (diff)
downloadsamba-d3f53e7f4ed6682b78b8314742248d8a5f2f040b.tar.gz
samba-d3f53e7f4ed6682b78b8314742248d8a5f2f040b.tar.bz2
samba-d3f53e7f4ed6682b78b8314742248d8a5f2f040b.zip
Merge of compile tweaks for python tdbpack module.
(This used to be commit b50816b500c4be0dda2cc79e0927d8a7dab65fd2)
-rw-r--r--source3/python/py_tdbpack.c2
-rwxr-xr-xsource3/python/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c
index 6d23dd840a..28cd529245 100644
--- a/source3/python/py_tdbpack.c
+++ b/source3/python/py_tdbpack.c
@@ -28,7 +28,7 @@
/* This module is supposed to be standalone, however for portability
it would be good to use the FUNCTION_MACRO preprocessor define. */
-#include "config.h"
+#include "include/config.h"
#ifdef HAVE_FUNCTION_MACRO
#define FUNCTION_MACRO (__FUNCTION__)
diff --git a/source3/python/setup.py b/source3/python/setup.py
index 09a81fd914..b15f906bc2 100755
--- a/source3/python/setup.py
+++ b/source3/python/setup.py
@@ -180,6 +180,6 @@ setup(
# code, although it implements a compatible data format.
Extension(name = "tdbpack",
sources = [os.path.join(samba_srcdir, "python", "py_tdbpack.c")],
- extra_compile_args = ["-I include"])
+ extra_compile_args = ["-I."])
],
)