From 89be695b2997e97dfc40afd17bb61b59b85634e4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 11 Dec 2002 01:25:18 +0000 Subject: [PATCH] Some more tweaking for compilation of py_tdbpack. --- source/python/py_tdbpack.c | 2 +- source/python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/python/py_tdbpack.c b/source/python/py_tdbpack.c index 6d23dd840a5..28cd5292457 100644 --- a/source/python/py_tdbpack.c +++ b/source/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/source/python/setup.py b/source/python/setup.py index 09a81fd9141..b15f906bc2f 100755 --- a/source/python/setup.py +++ b/source/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."]) ], )