summaryrefslogtreecommitdiff
path: root/sim/common/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/configure.ac')
-rw-r--r--sim/common/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/configure.ac b/sim/common/configure.ac
index a683f37a33a..e771575b5a1 100644
--- a/sim/common/configure.ac
+++ b/sim/common/configure.ac
@@ -34,7 +34,7 @@ AC_SUBST(TARGET_SUBDIR)
# These aren't all needed yet, but will be eventually.
AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h)
-AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate)
+AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate posix_fallocate)
AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino],
[struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid],
[struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size],