summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-24 04:59:15 +0000
committerTim Potter <tpot@samba.org>2003-02-24 04:59:15 +0000
commit6fa6b607c9f97dca9850e2d5c5dc175497fbebd8 (patch)
tree1d6130af70c992f40b01c95b5cee86dd83e1f805 /source3
parent5b5453e6c799cbf3fa7638950825e3b1c276cdc2 (diff)
downloadsamba-6fa6b607c9f97dca9850e2d5c5dc175497fbebd8.tar.gz
samba-6fa6b607c9f97dca9850e2d5c5dc175497fbebd8.tar.bz2
samba-6fa6b607c9f97dca9850e2d5c5dc175497fbebd8.zip
Quieten compiler warning.
(This used to be commit eb5d1a72dc9dc35997d39f8778ee98163b8cce32)
Diffstat (limited to 'source3')
-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 243cb44683..f0718b717e 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. */