diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-19 18:33:36 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-06-20 19:10:08 +0200 |
| commit | 79782afcff30fd0c0af8c2725d508b2c7150f3ed (patch) | |
| tree | 35b2ac2ca432521fdf9699db4b9d8af6286d517d /pkg/instance | |
| parent | 0cf1feea4ed6ec2e962a5116275c5de83e09b728 (diff) | |
executor: include missing linux/falloc.h
Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
with glibc because fcntl.h includes this header indirectly, however the
failure comes to fore with musl C library where this header is not
included indirectly by other system headers, therefore include it as
required.
Fixes
In file included from executor/common.h:505:
executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
^
Diffstat (limited to 'pkg/instance')
0 files changed, 0 insertions, 0 deletions
