diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 00:04:28 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-07 00:04:28 +0900 |
commit | 51022b8e06ae81daa8a84a1122f329119ed95d31 (patch) | |
tree | 10160239b33b643550fba8915e21002e229dca13 /thread.c | |
parent | 1f77cc3894d42b6c063ce640b27ae5bb24bc8b55 (diff) |
Exit status macros need sys/wait.h on FreeBSD
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |