Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
main.cpp: server-only builds should not include client headers
  • Loading branch information
nerzhul committed Sep 7, 2017
1 parent a3c298e commit 151c95b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Expand Up @@ -18,22 +18,19 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/

#include "irrlicht.h" // createDevice
#include "mainmenumanager.h"
#include "irrlichttypes_extrabloated.h"
#include "chat_interface.h"
#include "debug.h"
#include "unittest/test.h"
#include "server.h"
#include "filesys.h"
#include "version.h"
#include "guiMainMenu.h"
#include "game.h"
#include "defaultsettings.h"
#include "gettext.h"
#include "log.h"
#include "quicktune.h"
#include "httpfetch.h"
#include "guiEngine.h"
#include "gameparams.h"
#include "database.h"
#include "config.h"
Expand All @@ -44,7 +41,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "terminal_chat_console.h"
#endif
#ifndef SERVER
#include "guiMainMenu.h"
#include "client/clientlauncher.h"
#include "guiEngine.h"
#include "mainmenumanager.h"
#endif

#ifdef HAVE_TOUCHSCREENGUI
Expand Down

0 comments on commit 151c95b

Please sign in to comment.