summaryrefslogtreecommitdiffstats
path: root/source3/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-25 23:46:51 +0000
committerTim Potter <tpot@samba.org>2003-02-25 23:46:51 +0000
commitf5394078d974a938c6e619ec6f2d565c028d6cf1 (patch)
tree04656c7a6b9052283ee0c6d0f538868e1d3686f6 /source3/python
parent23b3b29eec61860155404333f6e70ebd24b50940 (diff)
downloadsamba-f5394078d974a938c6e619ec6f2d565c028d6cf1.tar.gz
samba-f5394078d974a938c6e619ec6f2d565c028d6cf1.tar.xz
samba-f5394078d974a938c6e619ec6f2d565c028d6cf1.zip
Merge: fix compiler warning.
(This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_tdbpack.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c
index 243cb446833..f0718b717ed 100644
--- a/source3/python/py_tdbpack.c
+++ b/source3/python/py_tdbpack.c
@@ -25,6 +25,13 @@
#include "Python.h"
+/* This symbol is used in both config.h and Python.h which causes an
+ annoying compiler warning. */
+
+#ifdef HAVE_FSTAT
+#undef HAVE_FSTAT
+#endif
+
/* This module is supposed to be standalone, however for portability
it would be good to use the FUNCTION_MACRO preprocessor define. */