summaryrefslogtreecommitdiffstats
path: root/source/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
commit55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92 (patch)
tree88e61eba910990143ed39f069073a0c59deb2c42 /source/python
parent31272d3b6bb9ec62fd666301c7adfa0c1720a99b (diff)
downloadsamba-55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92.tar.gz
samba-55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92.tar.xz
samba-55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92.zip
Merge: fix compiler warning.
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_tdbpack.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/python/py_tdbpack.c b/source/python/py_tdbpack.c
index 243cb446833..f0718b717ed 100644
--- a/source/python/py_tdbpack.c
+++ b/source/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. */