summaryrefslogtreecommitdiffstats
path: root/source/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
commit0308a0a11265050f53fc7e8e03f8e17b04adb45d (patch)
treec94b9610c2007d9f981bba1b1e03a50a1d8eed3b /source/python/py_tdb.c
parent68b4052281d22dace2ae9e48d022fa288c0a6425 (diff)
downloadsamba-0308a0a11265050f53fc7e8e03f8e17b04adb45d.tar.gz
samba-0308a0a11265050f53fc7e8e03f8e17b04adb45d.tar.xz
samba-0308a0a11265050f53fc7e8e03f8e17b04adb45d.zip
Merge of compiler warning fixups.
Diffstat (limited to 'source/python/py_tdb.c')
-rw-r--r--source/python/py_tdb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/python/py_tdb.c b/source/python/py_tdb.c
index e525422a304..37f64ce7802 100644
--- a/source/python/py_tdb.c
+++ b/source/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 */