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:
parent
417eacb48c
commit
48a2435bde
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -240,3 +240,4 @@ class CommandProcessor {
|
||||||
} // namespace xe
|
} // namespace xe
|
||||||
|
|
||||||
#endif // XENIA_GPU_COMMAND_PROCESSOR_H_
|
#endif // XENIA_GPU_COMMAND_PROCESSOR_H_
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue