diff --git a/libgo/syscalls/sleep_rtems.go b/libgo/syscalls/sleep_rtems.go index 443e8508edc..8a9ae8a30fe 100644 --- a/libgo/syscalls/sleep_rtems.go +++ b/libgo/syscalls/sleep_rtems.go @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +package syscall + func libc_nanosleep(req *Timespec, rem *Timespec) int __asm__ ("nanosleep") func Sleep(nsec int64) (errno int) {