summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2016-02-08 17:25:38 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2016-02-08 17:25:38 +0000
commit96ffc2a07eb10c0265b654ade972c66e39f9fafb (patch)
treeaf3c6234355ccc178949398571d528e6073fa12b
parent7eb34fc2cdb637974976ccaf3a9996059f09758f (diff)
downloaddbus-96ffc2a07eb10c0265b654ade972c66e39f9fafb.tar.gz
configure.ac: support large-file for stat64
dbus-daemon is not expected to open files with large *sizes*, but without large file support, calling [f]stat() on a file that happens to have a large inode number will fail with EOVERFLOW (see stat(2)). For example, files mounted from an NFS server might have large inode numbers. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93545 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> [smcv: shorten and clarify commit message; move AC_SYS_LARGEFILE after AC_USE_SYSTEM_EXTENSIONS because nothing should compile C before that point] Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e8e4f808..5e883435 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,7 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_ISC_POSIX
AC_HEADER_STDC
AC_C_INLINE