]> Cypherpunks.ru repositories - gostls13.git/commit
runtime/cgo: fix building on musl
authorTonis Tiigi <tonistiigi@gmail.com>
Sun, 6 Dec 2020 20:13:47 +0000 (20:13 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 7 Dec 2020 18:02:09 +0000 (18:02 +0000)
commit50cdb2d8e9ca8d7b79a05121c88271b46f7c9607
treef3a588f8b256875c6fc68da9f1511fe0576fda9a
parent8d3458517199f5aa2be0ec0f316fd406c9ca6cbb
runtime/cgo: fix building on musl

sys/unistd.h only exists in glibc and not in musl so use the standard
location. This is a regression from CL 210639

Change-Id: Idd4c75510d9829316b44300c36c34df6d667cc05
GitHub-Last-Rev: 0fa4162f1c7c460bda7585300285f47d1781985d
GitHub-Pull-Request: golang/go#43038
Reviewed-on: https://go-review.googlesource.com/c/go/+/275732
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Andrew G. Morgan <agm@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Filippo Valsorda <filippo@golang.org>
src/runtime/cgo/linux_syscall.c