aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheuni <theuni-nospam-@xbmc.org>2012-02-07 00:31:06 -0500
committertheuni <theuni-nospam-@xbmc.org>2012-02-07 00:32:02 -0500
commitbf9dd471187f56eeb35a6f5ce4a3c39faaa7e72e (patch)
tree3cab28df71d0d293a1124efb35a4afa96429eeb3
parentab522c3795aef0db2fbdf9600061f57881d530e7 (diff)
build: fixed build issue in certain cases
When including DynamicDll.h where system.h was not already pulled in, defines would be missing. In this case SDL defines were missing from DllImageLib when working on a new TextureBundle format, leading to a (entirely non-obvious) build issue with video/Teletext.cpp.
-rw-r--r--xbmc/cores/DllLoader/LibraryLoader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/cores/DllLoader/LibraryLoader.h b/xbmc/cores/DllLoader/LibraryLoader.h
index a3f6c5d042..7f5129f2b0 100644
--- a/xbmc/cores/DllLoader/LibraryLoader.h
+++ b/xbmc/cores/DllLoader/LibraryLoader.h
@@ -22,9 +22,8 @@
#ifndef LIBRARY_LOADER
#define LIBRARY_LOADER
-#ifndef _LINUX
-#include "system.h" // WIN32INCLUDES - needed for HMODULE
-#else
+#include "system.h"
+#ifdef _LINUX
#include "PlatformDefs.h"
#endif