From 393c8392821bf3357d2ada3ac0afe065758acc53 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 18 May 2022 16:57:14 +0200 Subject: [PATCH] Don't include client/game.h on server build --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.44.0