mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Exit status macros need sys/wait.h on FreeBSD
This commit is contained in:
parent
1f77cc3894
commit
51022b8e06
1 changed files with 4 additions and 0 deletions
4
thread.c
4
thread.c
|
@ -100,6 +100,10 @@
|
|||
#include "vm_debug.h"
|
||||
#include "vm_sync.h"
|
||||
|
||||
#if USE_MJIT && defined(HAVE_SYS_WAIT_H)
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#ifndef USE_NATIVE_THREAD_PRIORITY
|
||||
#define USE_NATIVE_THREAD_PRIORITY 0
|
||||
#define RUBY_THREAD_PRIORITY_MAX 3
|
||||
|
|
Loading…
Reference in a new issue