summaryrefslogtreecommitdiff
path: root/source3/python/py_tdb.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-20 01:05:22 +0000
committerTim Potter <tpot@samba.org>2003-03-20 01:05:22 +0000
commit873e090be37a3128f73d87988c2981dbfcee6601 (patch)
treeb6a05776a176241ee17d23b5157d7a36da89cff8 /source3/python/py_tdb.c
parent62c756e319431ed1f9a3fc2985a08ef92f9ad3ca (diff)
downloadsamba-873e090be37a3128f73d87988c2981dbfcee6601.tar.gz
samba-873e090be37a3128f73d87988c2981dbfcee6601.tar.bz2
samba-873e090be37a3128f73d87988c2981dbfcee6601.zip
Merge of compiler warning fixups.
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
Diffstat (limited to 'source3/python/py_tdb.c')
-rw-r--r--source3/python/py_tdb.c8
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 */