make libcontainer compile on freebsd (again)

Signed-off-by: Alexey Guskov <lexag@mail.ru>
This commit is contained in:
Alexey Guskov 2015-06-05 14:23:32 +03:00
parent 57a50dd378
commit f66187d234
7 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,5 @@
// +build freebsd linux
package configs
import "fmt"

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd
package configs

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd
package configs

View File

@ -1,3 +1,5 @@
// +build linux freebsd
package devices
import (

View File

@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd
package devices

5
stats_freebsd.go Normal file
View File

@ -0,0 +1,5 @@
package libcontainer
type Stats struct {
Interfaces []*NetworkInterface
}

View File

@ -1,4 +1,4 @@
// +build cgo,linux
// +build cgo,linux cgo,freebsd
package system