mirror of https://github.com/golang/go.git
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
This commit is contained in:
parent
3b2a578166
commit
0fa4162f1c
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <grp.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/unistd.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include "libcgo.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue