Skip to content

Commit

Permalink
Merge pull request docker-archive#615 from kvasdopil/freebsd-compile2
Browse files Browse the repository at this point in the history
make libcontainer compile on freebsd (again)
  • Loading branch information
LK4D4 committed Jun 5, 2015
2 parents 57a50dd + f66187d commit 07493c6
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions configs/config_linux.go → configs/config_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build freebsd linux

package configs

import "fmt"
Expand Down
2 changes: 1 addition & 1 deletion configs/device_defaults.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd

package configs

Expand Down
2 changes: 1 addition & 1 deletion configs/namespaces_linux.go → configs/namespaces_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd

package configs

Expand Down
2 changes: 2 additions & 0 deletions devices/devices_linux.go → devices/devices_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build linux freebsd

package devices

import (
Expand Down
2 changes: 1 addition & 1 deletion devices/number.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build linux
// +build linux freebsd

package devices

Expand Down
5 changes: 5 additions & 0 deletions stats_freebsd.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package libcontainer

type Stats struct {
Interfaces []*NetworkInterface
}
2 changes: 1 addition & 1 deletion system/sysconfig.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build cgo,linux
// +build cgo,linux cgo,freebsd

package system

Expand Down

0 comments on commit 07493c6

Please sign in to comment.