summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/netpoll_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/netpoll_stub.go')
-rw-r--r--libgo/go/runtime/netpoll_stub.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/runtime/netpoll_stub.go b/libgo/go/runtime/netpoll_stub.go
index 09f64ad9b5b..a4d6b4608ac 100644
--- a/libgo/go/runtime/netpoll_stub.go
+++ b/libgo/go/runtime/netpoll_stub.go
@@ -6,6 +6,8 @@
package runtime
+var netpollWaiters uint32
+
// Polls for ready network connections.
// Returns list of goroutines that become runnable.
func netpoll(block bool) (gp *g) {