diff options
author | Russ Cox <rsc@golang.org> | 2014-11-14 12:55:10 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-14 12:55:10 -0500 |
commit | 2230a043056b56c74cfdd0031fb4a7e589dad752 (patch) | |
tree | 8a31c52a4ce1cd506ca1269824e53635a8b534af /src/runtime/defs_linux_386.go | |
parent | 4f29938642faba6ad5e91eed5117fd2d4ec265b3 (diff) | |
download | go-2230a043056b56c74cfdd0031fb4a7e589dad752.tar.gz |
[dev.cc] runtime: fix linux build
TBR=austin
CC=golang-codereviews
https://codereview.appspot.com/176760044
Diffstat (limited to 'src/runtime/defs_linux_386.go')
-rw-r--r-- | src/runtime/defs_linux_386.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/defs_linux_386.go b/src/runtime/defs_linux_386.go index be5e5b3ad..a468f60d9 100644 --- a/src/runtime/defs_linux_386.go +++ b/src/runtime/defs_linux_386.go @@ -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 |