Fix nsenter package on unsupported platforms.

Commit 4d1d6185ab added this nsenter_unsupported.go file in order for nsenter to be a valid (but empty, non-functional) Go package on unsupported platforms. However, on such platforms, Go still complains because there exists a .c file in this folder, but the package doesn't use cgo.
Fix that by importing "C" pseudo-package.

Signed-off-by: Dmitri Shuralyov <shurcooL@gmail.com>
This commit is contained in:
Dmitri Shuralyov 2015-05-15 17:03:04 -07:00
parent 7adbe0f728
commit 22eb88ec49
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build !linux !cgo
package nsenter
import "C"