From 4c75cab6783d7871987b99d72a310aa34b68e214 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sun, 9 Mar 2014 13:18:12 +1100 Subject: [PATCH] syscall: add missing SO_ERROR constant for nacl/* CL 69340044 requires that syscall.SO_ERROR be defined on all unix like platforms. Add SO_ERROR to the list of dummy constants in sycall/net_nacl.go. LGTM=bradfitz R=iant, rsc, mikioh.mikioh, bradfitz CC=golang-codereviews https://golang.org/cl/73100043 --- src/pkg/syscall/net_nacl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/syscall/net_nacl.go b/src/pkg/syscall/net_nacl.go index f6d9e20f644..a2588d04191 100644 --- a/src/pkg/syscall/net_nacl.go +++ b/src/pkg/syscall/net_nacl.go @@ -112,6 +112,7 @@ const ( SO_SNDBUF SO_KEEPALIVE SO_LINGER + SO_ERROR IP_MULTICAST_IF IP_MULTICAST_LOOP IP_ADD_MEMBERSHIP