diff options
Diffstat (limited to 'source3/python/py_tdb.c')
-rw-r--r-- | source3/python/py_tdb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/python/py_tdb.c b/source3/python/py_tdb.c index e525422a30..37f64ce780 100644 --- a/source3/python/py_tdb.c +++ b/source3/python/py_tdb.c @@ -27,6 +27,14 @@ */ #include "includes.h" + +/* This symbol is used in both includes.h and Python.h which causes an + annoying compiler warning. */ + +#ifdef HAVE_FSTAT +#undef HAVE_FSTAT +#endif + #include "Python.h" /* Tdb exception */ |