diff options
author | Mauro Rossi <[email protected]> | 2019-09-21 17:38:52 +0200 |
---|---|---|
committer | Mauro Rossi <[email protected]> | 2019-09-28 15:56:23 +0200 |
commit | c24ad565ae7c19417f381ddfcb5ba6bff0934878 (patch) | |
tree | c839f53fcb54b0c233b40dff2dc602cf12d670f1 /src/amd/compiler/aco_validate.cpp | |
parent | b38fcaa22141b217eb693f79e1d6c60faa9a0658 (diff) |
android: aco: fix undefined template 'std::__1::array' build errors
Fixes a few building errors similar to the following:
In file included from external/mesa/src/amd/compiler/aco_instruction_selection.cpp:26:
In file included from external/libcxx/include/algorithm:639:
external/libcxx/include/utility:321:9:
error: implicit instantiation of undefined template 'std::__1::array<aco::Temp, 4>'
_T2 second;
^
Fixes: 93c8ebf ("aco: Initial commit of independent AMD compiler")
Signed-off-by: Mauro Rossi <[email protected]>
Diffstat (limited to 'src/amd/compiler/aco_validate.cpp')
-rw-r--r-- | src/amd/compiler/aco_validate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_validate.cpp b/src/amd/compiler/aco_validate.cpp index 0988d66df3a..9919d0a585d 100644 --- a/src/amd/compiler/aco_validate.cpp +++ b/src/amd/compiler/aco_validate.cpp @@ -24,6 +24,7 @@ #include "aco_ir.h" +#include <array> #include <map> namespace aco { |