From 0a17aacae6d5fcde7f7be6960e60b3378433ffb9 Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 1 Apr 2016 18:58:45 +0200 Subject: [PATCH] Sdk: Fix server building Former-commit-id: 1c3e0626fcaacbb414c526862a5608c36325f464 --- SDK/include/NDK/Components.hpp | 11 +++++++---- SDK/include/NDK/Systems.hpp | 7 +++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/SDK/include/NDK/Components.hpp b/SDK/include/NDK/Components.hpp index a6d41e543..46392ab7c 100644 --- a/SDK/include/NDK/Components.hpp +++ b/SDK/include/NDK/Components.hpp @@ -5,13 +5,16 @@ #ifndef NDK_COMPONENTS_GLOBAL_HPP #define NDK_COMPONENTS_GLOBAL_HPP -#include #include -#include -#include -#include #include #include #include +#ifndef NDK_SERVER +#include +#include +#include +#include +#endif + #endif // NDK_COMPONENTS_GLOBAL_HPP diff --git a/SDK/include/NDK/Systems.hpp b/SDK/include/NDK/Systems.hpp index d9bd12c75..193438b5e 100644 --- a/SDK/include/NDK/Systems.hpp +++ b/SDK/include/NDK/Systems.hpp @@ -5,9 +5,12 @@ #ifndef NDK_SYSTEMS_GLOBAL_HPP #define NDK_SYSTEMS_GLOBAL_HPP -#include #include -#include #include +#ifndef NDK_SERVER +#include +#include +#endif + #endif // NDK_SYSTEMS_GLOBAL_HPP