Add header dependencies that prevented linux build

There were several files with dependancies on vector and cmath that
caused compiler errors under linux. In addition, there was a printf
formatting error that threw a compiler error as well
This commit is contained in:
Doug Johnson 2016-05-12 01:40:30 -06:00
parent 417eacb48c
commit 48a2435bde
5 changed files with 7 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#include <llvm/ADT/BitVector.h>
#pragma warning(pop)
#else
#include <cmath>
#include <llvm/ADT/BitVector.h>
#endif // XE_COMPILER_MSVC

View File

@ -22,6 +22,7 @@
#include <llvm/ADT/BitVector.h>
#pragma warning(pop)
#else
#include <cmath>
#include <llvm/ADT/BitVector.h>
#endif // XE_COMPILER_MSVC

View File

@ -240,3 +240,4 @@ class CommandProcessor {
} // namespace xe
#endif // XENIA_GPU_COMMAND_PROCESSOR_H_

View File

@ -184,4 +184,4 @@ GL4Shader* GL4ShaderCache::FindCachedShader(ShaderType shader_type,
} // namespace gl4
} // namespace gpu
} // namespace xe
} // namespace xe

View File

@ -11,6 +11,8 @@
#define XENIA_GPU_GL4_SHADER_CACHE_H_
#include <cstdint>
#include <vector>
#include <cstring>
#include <memory>
#include <unordered_map>
@ -57,4 +59,4 @@ class GL4ShaderCache {
} // namespace gpu
} // namespace xe
#endif // XENIA_GPU_GL4_SHADER_CACHE_H_
#endif // XENIA_GPU_GL4_SHADER_CACHE_H_