diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-26 13:58:40 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-26 13:58:40 +0300 |
commit | c15c8ef3e357a3e01f775f20027fdac9b227099f (patch) | |
tree | 28546c4ce6756ad96dff092b43fde26d049862a8 /storage/rocksdb | |
parent | 3c2507789908df103949670fe43412e220718a6e (diff) | |
parent | 5740638c4c3337a0021a82f5b744afca1ab1346c (diff) | |
download | mariadb-git-c15c8ef3e357a3e01f775f20027fdac9b227099f.tar.gz |
Merge 10.6 into 10.8
Diffstat (limited to 'storage/rocksdb')
-rw-r--r-- | storage/rocksdb/build_rocksdb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake index 096185af08f..27a8616cfda 100644 --- a/storage/rocksdb/build_rocksdb.cmake +++ b/storage/rocksdb/build_rocksdb.cmake @@ -134,8 +134,8 @@ option(WITH_FALLOCATE "build with fallocate" ON) if(WITH_FALLOCATE AND UNIX) include(CheckCSourceCompiles) CHECK_C_SOURCE_COMPILES(" +#define _GNU_SOURCE #include <fcntl.h> -#include <linux/falloc.h> int main() { int fd = open(\"/dev/null\", 0); fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, 0, 1024); |