Merge pull request #578 from restic/fix-build-on-arm

Fix build on linux/arm
This commit is contained in:
Alexander Neumann
2016-08-21 15:09:46 +02:00
2 changed files with 13 additions and 1 deletions

View File

@@ -145,6 +145,15 @@ type Fsid struct {
X__val [2]int32
}
const (
FADV_NORMAL = 0x0
FADV_RANDOM = 0x1
FADV_SEQUENTIAL = 0x2
FADV_WILLNEED = 0x3
FADV_DONTNEED = 0x4
FADV_NOREUSE = 0x5
)
type Flock_t struct {
Type int16
Whence int16