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> #include <llvm/ADT/BitVector.h>
#pragma warning(pop) #pragma warning(pop)
#else #else
#include <cmath>
#include <llvm/ADT/BitVector.h> #include <llvm/ADT/BitVector.h>
#endif // XE_COMPILER_MSVC #endif // XE_COMPILER_MSVC

View File

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

View File

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

View File

@ -11,6 +11,8 @@
#define XENIA_GPU_GL4_SHADER_CACHE_H_ #define XENIA_GPU_GL4_SHADER_CACHE_H_
#include <cstdint> #include <cstdint>
#include <vector>
#include <cstring>
#include <memory> #include <memory>
#include <unordered_map> #include <unordered_map>