summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-11 01:25:18 +0000
committerTim Potter <tpot@samba.org>2002-12-11 01:25:18 +0000
commitfad3464ffeea80281a8b4ae6f24f7c8a22433516 (patch)
treeee46cb98cb4cad722a42e195f6db2e4735c8a9fd /source3/python
parent89ef861b4b7530a8a9a157b2e9e253a2e5716738 (diff)
downloadsamba-fad3464ffeea80281a8b4ae6f24f7c8a22433516.tar.gz
samba-fad3464ffeea80281a8b4ae6f24f7c8a22433516.tar.bz2
samba-fad3464ffeea80281a8b4ae6f24f7c8a22433516.zip
Some more tweaking for compilation of py_tdbpack.
(This used to be commit 89be695b2997e97dfc40afd17bb61b59b85634e4)
Diffstat (limited to 'source3/python')
-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."])
],
)