From 9fa82ca5db72ea3d5f821bb167113313ab9089ec Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Fri, 4 Apr 2025 18:00:01 +0000
Subject: [PATCH] dedicated: fix thread build

---
 src/dedicated/i_threads.c | 1 -
 src/i_threads.h           | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/dedicated/i_threads.c b/src/dedicated/i_threads.c
index 0e0b0bbe35..f8d9bc87a1 100644
--- a/src/dedicated/i_threads.c
+++ b/src/dedicated/i_threads.c
@@ -15,7 +15,6 @@
 
 #include "../i_threads.h"
 #include "../doomdef.h"
-#include "../doomtype.h"
 
 typedef struct thread_s thread_t;
 
diff --git a/src/i_threads.h b/src/i_threads.h
index 079b187710..097d1accc1 100644
--- a/src/i_threads.h
+++ b/src/i_threads.h
@@ -12,6 +12,8 @@
 #ifndef I_THREADS_H
 #define I_THREADS_H
 
+#include "doomtype.h"
+
 typedef void (*I_thread_fn)(void *userdata);
 
 typedef void * I_mutex;
-- 
GitLab