diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-06 07:30:13 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-06 07:30:13 +0000 |
commit | d77119bfe463a3eeb7b3b6995dec697ebb6be85d (patch) | |
tree | 04e0d6b2927569c30d19febf25b8aecb3d06ef7f /process.c | |
parent | 6bebc82c03b6eb196280bbdd54eed6d7cb25a9c1 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |