diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2024-11-23 11:50:00 +0100 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2024-11-24 17:47:06 +0900 |
| commit | 3826019f310991aedf0612408d7b821faf513ca4 (patch) | |
| tree | ab69b8844e7a76975c49fa9e9fe4e079d3a32d8b /test/ruby | |
| parent | a8c2d5e7bee5fad0965baeb58d312ddc5932ec26 (diff) | |
Fix a build failure with musl
```
compiling gc.c
In file included from gc.c:80:
/usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map'
88 | struct prctl_mm_map {
| ^~~~~~~~~~~~
In file included from gc.c:79:
/usr/include/linux/prctl.h:134:8: note: originally defined here
134 | struct prctl_mm_map {
| ^~~~~~~~~~~~
```
The first include is not needed and is what causes this issue.
Two other places in ruby exclusively use the sys import.
See https://github.com/seccomp/libseccomp/issues/19 for a similar problem.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12154
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
