diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2024-04-30 08:47:19 +0200 |
---|---|---|
committer | Daniel Eklöf <daniel@ekloef.se> | 2024-04-30 08:47:19 +0200 |
commit | dd36cce8c47bb0e17a789cf2bd95a51e29b59e78 (patch) | |
tree | 0015b63201f71487a1ea674b6fb26879946cb6ff | |
parent | 966553a9dbdeda56be5a1e5442c9893aed7fcf85 (diff) | |
download | wbg-dd36cce8c47bb0e17a789cf2bd95a51e29b59e78.tar.gz |
shm: MFD_NOEXEC_SEAL is not defined by musl libc
Closes #11
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | shm.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d87ec7..30dce6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ ### Fixed * Alpha not being applied correctly to PNG images. +* Compilation error on musl libc ([#11][11]). + +[11]: https://codeberg.org/dnkl/wbg/issues/11 ### Security @@ -19,6 +19,10 @@ #define MAP_UNINITIALIZED 0 #endif +#if !defined(MFD_NOEXEC_SEAL) + #define MFD_NOEXEC_SEAL 0 +#endif + static void buffer_destroy(struct buffer *buf) { |