From f245f0c664819eaa96df7a29319d5a6a118d9fb8 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Sep 2013 05:23:28 +0000 Subject: win32.c: clock_getres * win32/win32.c (clock_getres): required as well as clock_gettime(). [ruby-dev:47699] [Bug #8869] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/win32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby/win32.h') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 260c5d914d..e5d6f5231d 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -317,6 +317,7 @@ extern int link(const char *, const char *); extern int rb_w32_ulink(const char *, const char *); extern int gettimeofday(struct timeval *, struct timezone *); extern int clock_gettime(clockid_t, struct timespec *); +extern int clock_getres(clockid_t, struct timespec *); extern rb_pid_t waitpid (rb_pid_t, int *, int); extern rb_pid_t rb_w32_spawn(int, const char *, const char*); extern rb_pid_t rb_w32_aspawn(int, const char *, char *const *); -- cgit v1.2.3