Commit 3826019
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 seccomp/libseccomp#19 for a similar problem.1 parent a8c2d5e commit 3826019
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
4516 | 4515 | | |
4517 | 4516 | | |
4518 | 4517 | | |
4519 | | - | |
| 4518 | + | |
4520 | 4519 | | |
4521 | 4520 | | |
4522 | 4521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
1875 | 1874 | | |
1876 | 1875 | | |
1877 | 1876 | | |
1878 | | - | |
| 1877 | + | |
1879 | 1878 | | |
1880 | 1879 | | |
1881 | 1880 | | |
| |||
0 commit comments