aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2016-01-18 16:24:51 +0000
committerMartin Jambor <mjambor@suse.cz>2016-01-18 16:24:51 +0000
commita9925dfb66e5bb75e2e708184f93a28c69d8dc34 (patch)
tree562f3da0886f92c653d3812590910be5de8daf2a
parent618c8e7819ee1a053179554917567ef7f1a1de64 (diff)
[hsa] Includes necessary for powerpc-aix
2016-01-18 Martin Jambor <mjambor@suse.cz> * hsa-brig.c: Include target.h and tm_p.h. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/hsa@232530 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.hsa4
-rw-r--r--gcc/hsa-brig.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog.hsa b/gcc/ChangeLog.hsa
index 5cc90d8ae5e..18ce85aa188 100644
--- a/gcc/ChangeLog.hsa
+++ b/gcc/ChangeLog.hsa
@@ -1,5 +1,9 @@
2016-01-18 Martin Jambor <mjambor@suse.cz>
+ * hsa-brig.c: Include target.h and tm_p.h.
+
+2016-01-18 Martin Jambor <mjambor@suse.cz>
+
* hsa-brig.c (lendian16): New function. Changed all uses of htole16
to use it.
(lendian32): New function. Changed all uses of htole32 to use it.
diff --git a/gcc/hsa-brig.c b/gcc/hsa-brig.c
index d489e8eb222..cfbac581a30 100644
--- a/gcc/hsa-brig.c
+++ b/gcc/hsa-brig.c
@@ -23,6 +23,8 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "tm.h"
+#include "target.h"
+#include "tm_p.h"
#include "is-a.h"
#include "vec.h"
#include "hash-table.h"