From: Mikio Hara Date: Wed, 17 Jun 2015 13:05:55 +0000 (+0900) Subject: net: fix build on netbsd X-Git-Tag: go1.5beta1~216 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e38bcb58d77b8e62b8c78157fea76afdba6e0105;p=gostls13.git net: fix build on netbsd Change-Id: Ia5c6d9fb114be65d7c20c7eb97ed696977051031 Reviewed-on: https://go-review.googlesource.com/11167 Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/cgo_resnew.go b/src/net/cgo_resnew.go index a13e5d1050..3910b6fc19 100644 --- a/src/net/cgo_resnew.go +++ b/src/net/cgo_resnew.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // +build cgo,!netgo -// +build darwin linux solaris +// +build darwin linux netbsd solaris package net diff --git a/src/net/cgo_resold.go b/src/net/cgo_resold.go index cf09e83e51..1756186aa0 100644 --- a/src/net/cgo_resold.go +++ b/src/net/cgo_resold.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // +build cgo,!netgo -// +build freebsd dragonfly netbsd openbsd +// +build freebsd dragonfly openbsd package net