1
0
Fork 0
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:
Nobuyoshi Nakada 2022-09-07 00:04:28 +09:00
parent 1f77cc3894
commit 51022b8e06
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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