summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-30 13:53:33 -0800
committerTim Prouty <tprouty@samba.org>2009-01-30 14:41:07 -0800
commit2c2545d45af9c7479bf032fff1263e102926a495 (patch)
treef58bcbe41963122a34ed1cf03953806c7abb78fd
parentd4aeed879b21db41643250a23b1009b543e6c99f (diff)
downloadsamba-2c2545d45af9c7479bf032fff1263e102926a495.tar.gz
samba-2c2545d45af9c7479bf032fff1263e102926a495.tar.bz2
samba-2c2545d45af9c7479bf032fff1263e102926a495.zip
s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings
-rw-r--r--lib/tdb/pytdb.c4
-rw-r--r--source3/configure.in2
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c
index 60aae9fd86..159bc4dce5 100644
--- a/lib/tdb/pytdb.c
+++ b/lib/tdb/pytdb.c
@@ -32,10 +32,6 @@
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
#endif
-#ifdef HAVE_FSTAT
-#undef HAVE_FSTAT
-#endif
-
/* Include tdb headers */
#include <tdb.h>
diff --git a/source3/configure.in b/source3/configure.in
index 3ae2c8c9d3..615ab9e19f 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1027,7 +1027,7 @@ fi
AC_CHECK_FUNCS(getcwd fchown chmod fchmod mknod mknod64)
AC_CHECK_FUNCS(strtol)
-AC_CHECK_FUNCS(fstat strchr chflags)
+AC_CHECK_FUNCS(strchr chflags)
AC_CHECK_FUNCS(getrlimit fsync fdatasync setpgid)
AC_CHECK_FUNCS(setsid glob strpbrk crypt16 getauthuid)
AC_CHECK_FUNCS(sigprocmask sigblock sigaction sigset innetgr setnetgrent getnetgrent endnetgrent)