summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/socket_xnet.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/socket_xnet.go')
-rw-r--r--libgo/go/syscall/socket_xnet.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/syscall/socket_xnet.go b/libgo/go/syscall/socket_xnet.go
index 3c5b6b4180..c0699c44a8 100644
--- a/libgo/go/syscall/socket_xnet.go
+++ b/libgo/go/syscall/socket_xnet.go
@@ -5,6 +5,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build solaris
+
package syscall
//sys bind(fd int, sa *RawSockaddrAny, len Socklen_t) (err error)