From: Mario Date: Sat, 15 Jul 2017 19:30:07 +0000 (+1000) Subject: Fix compilation unit X-Git-Tag: xonotic-v0.8.5~2621 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a234fc2b3af24de2c434431ff6653e7721a804e1;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation unit --- diff --git a/qcsrc/common/physics/player.qh b/qcsrc/common/physics/player.qh index e3e563ebe..5f43c2a5b 100644 --- a/qcsrc/common/physics/player.qh +++ b/qcsrc/common/physics/player.qh @@ -2,6 +2,11 @@ // Client/server mappings +#ifdef SVQC +// TODO: get rid of this random dumb include! + #include +#endif + .entity conveyor; .float race_penalty; diff --git a/qcsrc/server/command/banning.qc b/qcsrc/server/command/banning.qc index 446c69de4..fa1be7511 100644 --- a/qcsrc/server/command/banning.qc +++ b/qcsrc/server/command/banning.qc @@ -1,4 +1,5 @@ #include "banning.qh" +#include #include #include "banning.qh" diff --git a/qcsrc/server/mapvoting.qc b/qcsrc/server/mapvoting.qc index 7ccb2a30b..d22073ef6 100644 --- a/qcsrc/server/mapvoting.qc +++ b/qcsrc/server/mapvoting.qc @@ -7,6 +7,7 @@ #include #include "../common/mapinfo.qh" #include "../common/playerstats.qh" +#include #include "../common/util.qh" diff --git a/qcsrc/server/playerdemo.qc b/qcsrc/server/playerdemo.qc index 90de79b8a..e337e9be4 100644 --- a/qcsrc/server/playerdemo.qc +++ b/qcsrc/server/playerdemo.qc @@ -4,6 +4,7 @@ #elif defined(SVQC) #include "defs.qh" #include "playerdemo.qh" + #include #endif .float playerdemo_fh;