diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Jun 26 22:07:54 2008 Tanaka Akira <[email protected]> + + * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined. + pointed by TOYOFUKU Chikanobu. [ruby-dev:35258] + Thu Jun 26 17:43:41 2008 Yukihiro Matsumoto <[email protected]> * variable.c (rb_f_trace_var): should not be allowed at safe level 4. @@ -42,7 +42,7 @@ struct timeval rb_time_interval _((VALUE)); #ifdef HAVE_SYS_WAIT_H # include <sys/wait.h> #endif -#ifdef HAVE_GETPRIORITY +#ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> #endif #include "st.h" |