mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
pointed by TOYOFUKU Chikanobu. [ruby-dev:35258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4bbdc4c4d5
commit
9569facfdc
2 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue