[dev.cc] runtime: fix linux build

TBR=austin
CC=golang-codereviews
https://golang.org/cl/176760044
This commit is contained in:
Russ Cox 2014-11-14 12:55:10 -05:00
parent 1d05d5880e
commit a87e4a2d01
4 changed files with 14 additions and 2 deletions

View file

@ -134,6 +134,10 @@ func (ts *timespec) set_sec(x int32) {
ts.tv_sec = x
}
func (ts *timespec) set_nsec(x int32) {
ts.tv_nsec = x
}
type timeval struct {
tv_sec int32
tv_usec int32