Browse Source

internal/nettest: fix build on nacl

Change-Id: Ib3cd96ec4156737d80feda0504c349da5d41dc75
Reviewed-on: https://go-review.googlesource.com/11603
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Mikio Hara 10 years ago
parent
commit
d9558e5c97
1 changed files with 2 additions and 0 deletions
  1. 2 0
      internal/nettest/rlimit_stub.go

+ 2 - 0
internal/nettest/rlimit_plan9.go → internal/nettest/rlimit_stub.go

@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build nacl plan9
+
 package nettest
 
 func maxOpenFiles() int { return defaultMaxOpenFiles }