diff --git a/ChangeLog b/ChangeLog index dad742b9fc..dfa5dae248 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 26 22:07:54 2008 Tanaka Akira + + * 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 * variable.c (rb_f_trace_var): should not be allowed at safe level 4. diff --git a/process.c b/process.c index c41924dbbf..0d16bb6e43 100644 --- a/process.c +++ b/process.c @@ -42,7 +42,7 @@ struct timeval rb_time_interval _((VALUE)); #ifdef HAVE_SYS_WAIT_H # include #endif -#ifdef HAVE_GETPRIORITY +#ifdef HAVE_SYS_RESOURCE_H # include #endif #include "st.h"