diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 0414c0e9fb..9b5baae5ec 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -33,7 +33,7 @@ #if _M_SSE >= 0x401 #include -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp index 225713a335..c76cf1246c 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp @@ -22,7 +22,7 @@ #include "NativeVertexWriter.h" #include "CPUDetect.h" -#if _M_SSE >= 0x301 +#if _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h index 26cd1c300d..cc4cd449c6 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h +++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h @@ -18,6 +18,7 @@ #ifndef _VERTEXLOADER_NORMAL_H #define _VERTEXLOADER_NORMAL_H +#include "Common.h" #include "CommonTypes.h" class VertexLoader_Normal diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp index 594bdcb5a0..1ff74113ac 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp @@ -22,7 +22,7 @@ #include "NativeVertexWriter.h" #include "CPUDetect.h" -#if _M_SSE >= 0x301 +#if _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #endif diff --git a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp index 08b5f706b1..ae4b8c668a 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp @@ -24,7 +24,7 @@ #if _M_SSE >= 0x401 #include -#elif _M_SSE >= 0x301 +#elif _M_SSE >= 0x301 && !(defined __GNUC__ && !defined __SSSE3__) #include #endif