net: allow build on aix/ppc64 with cgo

This commit adds C support for net package for aix/ppc64.

Change-Id: I704710991fc013c6ec3511671def6791df4854f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/164038
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
This commit is contained in:
Clément Chigot 2019-02-27 15:44:43 +01:00 committed by Ian Lance Taylor
parent 0cd74d1f11
commit ca4314d39e
4 changed files with 32 additions and 3 deletions

View file

@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// +build cgo,!netgo
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package net