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 | e9981d6fa4d2089a4a5db8af32640baec3d28900 (patch) | |
| tree | 04e0d6b2927569c30d19febf25b8aecb3d06ef7f /process.c | |
| parent | bc8408326beec3dbd293ae59e3e80e0fef5b2028 (diff) | |
| download | ruby-e9981d6fa4d2089a4a5db8af32640baec3d28900.tar.gz ruby-e9981d6fa4d2089a4a5db8af32640baec3d28900.tar.xz ruby-e9981d6fa4d2089a4a5db8af32640baec3d28900.zip | |
* 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: http://svn.ruby-lang.org/repos/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> |
