diff options
author | Sam James <[email protected]> | 2024-11-07 19:20:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-07 11:20:37 -0800 |
commit | 4a7a0a0290118382a2c7be320c6e14d72b0637a1 (patch) | |
tree | 5c674ad4477df2a12f5b789502ab40a6339dde6d /module/os/linux/zfs/zfs_acl.c | |
parent | 187f93137265feb2ea84f109168dffce2d91e7ef (diff) |
Use <fcntl.h> instead of <sys/fcntl.h>
When building on musl, we get:
```
In file included from tests/zfs-tests/cmd/getversion.c:22:
/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect
#include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
In file included from module/os/linux/zfs/vdev_file.c:36:
/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect
#include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
```
Bug: https://bugs.gentoo.org/925235
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Sam James <[email protected]>
Closes #15925
Diffstat (limited to 'module/os/linux/zfs/zfs_acl.c')
0 files changed, 0 insertions, 0 deletions