diff options
Diffstat (limited to 'libgo/runtime/go-now.c')
-rw-r--r-- | libgo/runtime/go-now.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgo/runtime/go-now.c b/libgo/runtime/go-now.c index ede4493..73cc160 100644 --- a/libgo/runtime/go-now.c +++ b/libgo/runtime/go-now.c @@ -6,6 +6,8 @@ #include <stdint.h> #include <sys/time.h> +#include "runtime.h" + // Return current time. This is the implementation of time.now(). struct time_now_ret @@ -15,7 +17,7 @@ struct time_now_ret }; struct time_now_ret now() - __asm__ ("time.now") + __asm__ (GOSYM_PREFIX "time.now") __attribute__ ((no_split_stack)); struct time_now_ret |