summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.c b/process.c
index 5a1a3fc5d1..69fecefba9 100644
--- a/process.c
+++ b/process.c
@@ -57,6 +57,8 @@ struct timeval rb_time_interval(VALUE);
#undef HAVE_GETPGRP
#endif
+#include <sys/stat.h>
+
#ifdef HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
@@ -2733,7 +2735,6 @@ rb_f_system(int argc, VALUE *argv)
*
* Also, all non-standard unspecified descriptors can be closed by :close_others option.
* The "standard" descriptors are 0, 1 and 2.
- * (Current implementation closes decriptors less than some constant, such as 256.)
*
* # more similar to IO.popen
* r, w = IO.pipe