From f1e1eec26c3ef65e1199f9bbff2ab90eb49bb07b Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 29 Nov 2019 14:09:13 +0300 Subject: Fix detecting statvfs --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 907b86e1f..2520fd53c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ if (SECCOMP_FOUND) endif() # Mount()ing and stat()ing and friends -check_symbol_exists(statfs sys/vfs.h HAVE_VFS_H) +check_symbol_exists(statvfs sys/vfs.h HAVE_VFS_H) check_include_files(sys/params.h HAVE_PARAMS_H) check_symbol_exists(statfs sys/mount.h HAVE_MOUNT_H) if (NOT HAVE_VFS_H AND NOT HAVE_MOUNT_H) -- cgit v1.2.3