summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 15:05:25 -0200
committerDavi Arnaut <davi.arnaut@oracle.com>2010-10-19 15:05:25 -0200
commit3d0473233ac420f4dc997e88619c1deecb6109ca (patch)
tree7ddffd8aa39d70714bcf415cd7d932212408af50 /configure.in
parent15d104591f5d404f307254bd253b73d33447f148 (diff)
parent71a8764af54c4fbba2d81f222065ac6ffc01250d (diff)
downloadmariadb-git-3d0473233ac420f4dc997e88619c1deecb6109ca.tar.gz
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 81dd853a455..d8a45214a5c 100644
--- a/configure.in
+++ b/configure.in
@@ -2120,6 +2120,13 @@ MYSQL_TYPE_QSORT
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
+AC_CHECK_DECLS([fdatasync],,,
+[
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+])
+
AC_CHECK_FUNCS(alarm bfill bmove bsearch bzero \
chsize cuserid fchmod fcntl \
fdatasync fesetround finite fpresetsticky fpsetmask fsync ftruncate \