aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-05-18 16:57:14 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-05-18 16:57:14 +0200
commit393c8392821bf3357d2ada3ac0afe065758acc53 (patch)
tree8f2f2f9f28b8a73f83bade59d6d6685a7a9b6552 /src/main.cpp
parent8d19b99c5b073eaba9a89959a6fadd0b395a8510 (diff)
downloaddragonfireclient-393c8392821bf3357d2ada3ac0afe065758acc53.tar.xz
Don't include client/game.h on server build
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ebd1f740e..63938b8e8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,7 +27,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "server.h"
#include "filesys.h"
#include "version.h"
+#ifndef SERVER
#include "client/game.h"
+#endif
#include "defaultsettings.h"
#include "gettext.h"
#include "log.h"