From 46db2246405bb8aaf3cf9d089a207c37ddb61c76 Mon Sep 17 00:00:00 2001
From: PAS <pasrc@proton.me>
Date: Wed, 26 Mar 2025 09:46:42 -0400
Subject: [PATCH] Fix i_threads.c compiling on macOS

---
 src/i_threads.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/i_threads.c b/src/i_threads.c
index 5ef28bd11..959fc857f 100644
--- a/src/i_threads.c
+++ b/src/i_threads.c
@@ -313,6 +313,8 @@ void I_wake_all_cond(I_cond *anchor)
 	WakeAllConditionVariable(*anchor);
 }
 #else
+#include "i_threads.h"
+
 void I_spawn_thread(const char *name, I_thread_fn entry, void *userdata)
 {
 	(void)name;
-- 
GitLab