summaryrefslogtreecommitdiff
path: root/source3/python/py_tdb.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-19 11:25:21 +0000
committerTim Potter <tpot@samba.org>2003-03-19 11:25:21 +0000
commit50e42357ea5eb3d16185f3b1019ed21bd2314cc9 (patch)
treecf00cdb49906df837ecf6cedf1c4cc3e065630d3 /source3/python/py_tdb.c
parent8406be4f68f90a9aa8b3ff8d745ab57be1528a9e (diff)
downloadsamba-50e42357ea5eb3d16185f3b1019ed21bd2314cc9.tar.gz
samba-50e42357ea5eb3d16185f3b1019ed21bd2314cc9.tar.bz2
samba-50e42357ea5eb3d16185f3b1019ed21bd2314cc9.zip
Fix compiler warning.
(This used to be commit 74c1cd0040890d24e6191d4cb0467e9f9d70f5dc)
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 */