]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: include pthread.h in defs_openbsd.go
authorJoel Sing <joel@sing.id.au>
Tue, 18 May 2021 06:01:43 +0000 (16:01 +1000)
committerJoel Sing <joel@sing.id.au>
Mon, 16 Aug 2021 07:41:07 +0000 (07:41 +0000)
This is required now that defs_openbsd.go has pthread related references.

Updates #36435

Change-Id: I73cdf23eef6aceea6f9b37b7702bdb3b560aa120
Reviewed-on: https://go-review.googlesource.com/c/go/+/334877
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/defs_openbsd.go

index 8d323449d1c5d4330f0ce732b10be0e036f5bec6..f818dc445396f1d2c397a46b78a471b4ba31a206 100644 (file)
@@ -26,6 +26,7 @@ package runtime
 #include <sys/signal.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <pthread.h>
 #include <signal.h>
 */
 import "C"