Merge pull request #615 from kvasdopil/freebsd-compile2

make libcontainer compile on freebsd (again)
This commit is contained in:
Alexander Morozov 2015-06-05 07:37:07 -07:00
commit 07493c68a8
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