summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-06 07:30:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-06 07:30:13 +0000
commitd77119bfe463a3eeb7b3b6995dec697ebb6be85d (patch)
tree04e0d6b2927569c30d19febf25b8aecb3d06ef7f /process.c
parent6bebc82c03b6eb196280bbdd54eed6d7cb25a9c1 (diff)
* io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.
* io.c (rb_io_each_line): ditto. * io.c (argf_getline): ditto. * process.c: should include <time.h> to get proper CLK_TCK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process.c b/process.c
index 8aea0fbf98..e4b633c8ed 100644
--- a/process.c
+++ b/process.c
@@ -20,6 +20,8 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+
+#include <time.h>
#ifndef NT
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>