Fix solaris build. (#6149)

* Fix solaris build.
* Tidy up build constraints on statfs_linux_386.go

Signed-off-by: Peter Tribble <peter.tribble@gmail.com>
This commit is contained in:
Peter Tribble 2019-10-17 18:43:29 +01:00 committed by Brian Brazil
parent 61e14a6bdb
commit 90c3615a2c
3 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build openbsd windows netbsd
// +build openbsd windows netbsd solaris
package runtime

View File

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !windows,!openbsd,!netbsd
// +build !windows,!openbsd,!netbsd,!solaris
// +build !386
package runtime

View File

@ -11,7 +11,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !windows !openbsd !darwin !freebsd !netbsd
// +build linux,386
package runtime