Commit 858dadd
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 858dadd
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
0 commit comments