From 8bfb17bba198f19031d23bed8b71e1d004ad6f0b Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sat, 26 Jun 2010 14:54:43 +0000 Subject: [PATCH] Config.h needs to be included in CommonPaths.h because CommonPaths.h is included in Common.h before Config.h is. If you want to find an alternate way to fix this so that Config.h is only included in Common.h watch for circular inclusions next time. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5801 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CommonPaths.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/CommonPaths.h b/Source/Core/Common/Src/CommonPaths.h index 7d6d95a0ac..5adff7038e 100644 --- a/Source/Core/Common/Src/CommonPaths.h +++ b/Source/Core/Common/Src/CommonPaths.h @@ -18,7 +18,9 @@ #ifndef _COMMON_PATHS_H_ #define _COMMON_PATHS_H_ -#include "Common.h" +#ifdef __linux__ +#include "Config.h" +#endif // Library suffix/prefix #ifdef _WIN32