Exit status macros need sys/wait.h on FreeBSD
This commit is contained in:
parent
1f77cc3894
commit
51022b8e06
4
thread.c
4
thread.c
@ -100,6 +100,10 @@
|
|||||||
#include "vm_debug.h"
|
#include "vm_debug.h"
|
||||||
#include "vm_sync.h"
|
#include "vm_sync.h"
|
||||||
|
|
||||||
|
#if USE_MJIT && defined(HAVE_SYS_WAIT_H)
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef USE_NATIVE_THREAD_PRIORITY
|
#ifndef USE_NATIVE_THREAD_PRIORITY
|
||||||
#define USE_NATIVE_THREAD_PRIORITY 0
|
#define USE_NATIVE_THREAD_PRIORITY 0
|
||||||
#define RUBY_THREAD_PRIORITY_MAX 3
|
#define RUBY_THREAD_PRIORITY_MAX 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user