From 871fb1b5e52004f173db84c9101eeb440a2f6f29 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Thu, 17 Sep 2020 17:50:43 +0000 Subject: [PATCH] quakedef: Include thread.h, and include threads.h in thread.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12935 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 1 - quakedef.h | 1 + thread.h | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/host.c b/host.c index af9a7b80..54d91ac6 100644 --- a/host.c +++ b/host.c @@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "sv_demo.h" #include "snd_main.h" #include "taskqueue.h" -#include "thread.h" #include "utf8lib.h" /* diff --git a/quakedef.h b/quakedef.h index 6571dd51..4ae95e92 100644 --- a/quakedef.h +++ b/quakedef.h @@ -369,6 +369,7 @@ extern char engineversion[128]; //=========================================== #include "zone.h" +#include "thread.h" #include "fs.h" #include "common.h" #include "com_list.h" diff --git a/thread.h b/thread.h index 847cc26c..9bce65c9 100644 --- a/thread.h +++ b/thread.h @@ -1,6 +1,8 @@ #ifndef THREAD_H #define THREAD_H +#include + // enable Sys_PrintfToTerminal calls on nearly every threading call //#define THREADDEBUG //#define THREADDISABLE -- 2.39.2