Commit 8936247
committed
Fixed Alpine/musl builds: include unistd.h in gcc-preinclude
GCC 13 on Alpine (musl) has a bug where atomic_wait.h uses syscall()
without including <unistd.h>. On glibc this isn't needed because
_GNU_SOURCE pulls it in, so the include is conditional on musl only.1 parent 20a3bd2 commit 8936247
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments