]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Don't include client/game.h on server build
authorElias Fleckenstein <eliasfleckenstein@web.de>
Wed, 18 May 2022 14:57:14 +0000 (16:57 +0200)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Wed, 18 May 2022 14:57:14 +0000 (16:57 +0200)
src/main.cpp

index ebd1f740ecf1fdf8bbdc242e836224e226982fd8..63938b8e8cc0f5b524d99ea578e5fc009f430c4e 100644 (file)
@@ -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"