diff options
author | Mattes D <github@xoft.cz> | 2016-11-18 20:00:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-11-18 20:00:04 +0100 |
commit | 0bffa2935854d1b1d0110a33707650cafe084af7 (patch) | |
tree | 2e102088f7f8c1bb4b398de9043cf36c4e42767a /src/Root.cpp | |
parent | Updated the Core. (diff) | |
download | cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.gz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.bz2 cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.lz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.xz cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.tar.zst cuberite-0bffa2935854d1b1d0110a33707650cafe084af7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 27277512c..55e149511 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -2,6 +2,22 @@ #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Root.h" + +// STD lib hreaders: +#include <iostream> + +// OS-specific headers: +#if defined(_WIN32) + #include <psapi.h> +#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) + #include <signal.h> + #if defined(__linux__) + #include <fstream> + #elif defined(__APPLE__) + #include <mach/mach.h> + #endif +#endif + #include "Server.h" #include "World.h" #include "WebAdmin.h" @@ -23,19 +39,7 @@ #include "SettingsRepositoryInterface.h" #include "OverridesSettingsRepository.h" #include "Logger.h" - -#include <iostream> - -#if defined(_WIN32) - #include <psapi.h> -#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) - #include <signal.h> - #if defined(__linux__) - #include <fstream> - #elif defined(__APPLE__) - #include <mach/mach.h> - #endif -#endif +#include "ClientHandle.h" |