os: fix build for Plan 9

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/4657074
This commit is contained in:
Fazlul Shahriar 2011-07-05 16:01:29 +10:00 committed by Alex Brainman
parent cc9fed7c1a
commit bedee318d5
2 changed files with 28 additions and 4 deletions

View file

@ -6,7 +6,6 @@ package os
import (
"runtime"
"sync"
"syscall"
)
@ -14,9 +13,8 @@ import (
type File struct {
fd int
name string
dirinfo *dirInfo // nil unless directory being read
nepipe int // number of consecutive EPIPE in Write
l sync.Mutex // used to implement windows pread/pwrite
dirinfo *dirInfo // nil unless directory being read
nepipe int // number of consecutive EPIPE in Write
}
// Fd returns the integer Unix file descriptor referencing the open file.