]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
quakedef: Include thread.h, and include threads.h in thread.h
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Sep 2020 17:50:43 +0000 (17:50 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Sep 2020 17:50:43 +0000 (17:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12935 d7cf8633-e32d-0410-b094-e92efae38249

host.c
quakedef.h
thread.h

diff --git a/host.c b/host.c
index af9a7b806295f5017e0bca2599862d65e1fcbb1e..54d91ac6062a5048dedf3deac811519fe9491611 100644 (file)
--- 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"
 
 /*
index 6571dd5186928ddad7e61981d8111a393e3433d2..4ae95e92b13bb130f8ba26c3617dc052c7bb57fd 100644 (file)
@@ -369,6 +369,7 @@ extern char engineversion[128];
 //===========================================
 
 #include "zone.h"
+#include "thread.h"
 #include "fs.h"
 #include "common.h"
 #include "com_list.h"
index 847cc26ce7e3cd15d0af245a1c3e970479c71488..9bce65c91f1d243f6381d866e6e5c5aebe81d591 100644 (file)
--- a/thread.h
+++ b/thread.h
@@ -1,6 +1,8 @@
 #ifndef THREAD_H
 #define THREAD_H
 
+#include <threads.h>
+
 // enable Sys_PrintfToTerminal calls on nearly every threading call
 //#define THREADDEBUG
 //#define THREADDISABLE