From: Elias Fleckenstein Date: Wed, 18 May 2022 14:57:14 +0000 (+0200) Subject: Don't include client/game.h on server build X-Git-Tag: 2022.05~1 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=393c8392821bf3357d2ada3ac0afe065758acc53;p=dragonfireclient.git Don't include client/game.h on server build --- 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"