$OpenBSD: patch-src_runtime_defs_openbsd_386_go,v 1.3 2021/03/02 17:56:41 jsing Exp $

Index: src/runtime/defs_openbsd_386.go
--- src/runtime/defs_openbsd_386.go.orig
+++ src/runtime/defs_openbsd_386.go
@@ -30,6 +30,13 @@ const (
 	_SA_RESTART = 0x2
 	_SA_ONSTACK = 0x1
 
+	_PTHREAD_CREATE_DETACHED = 0x1
+
+	_F_SETFD    = 0x2
+	_F_GETFL    = 0x3
+	_F_SETFL    = 0x4
+	_FD_CLOEXEC = 0x1
+
 	_SIGHUP    = 0x1
 	_SIGINT    = 0x2
 	_SIGQUIT   = 0x3
@@ -166,3 +173,10 @@ type keventt struct {
 	data   int64
 	udata  *byte
 }
+
+type pthread uintptr
+type pthreadattr uintptr
+type pthreadcond uintptr
+type pthreadcondattr uintptr
+type pthreadmutex uintptr
+type pthreadmutexattr uintptr
