]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix plan9 build
authorMikio Hara <mikioh.mikioh@gmail.com>
Thu, 19 Jan 2012 05:52:28 +0000 (14:52 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Thu, 19 Jan 2012 05:52:28 +0000 (14:52 +0900)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5532097

src/pkg/syscall/syscall_plan9.go

index cd348f890db1bb69ddb8db936c1f62db92f1f2b6..0bbb7ece99fe7e33755a8228c086db1414af828d 100644 (file)
@@ -268,6 +268,11 @@ func Fchdir(fd int) (err error) {
        return Chdir(path)
 }
 
+type Timespec struct {
+       Sec  int32
+       Nsec int32
+}
+
 type Timeval struct {
        Sec  int32
        Usec int32