mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-06 14:21:43 +08:00
sim: common: include sim-types.h in the endian header directly
This is a bit redundant for most ports as they go through sim-basics.h which always includes sim-types.h before including sim-endian.h, but in order to unify ppc's sim-endian code, we need this include here. Plus, it's the directly we generally want to go to get away from one header that defines all APIs and causes hard to untangle dependencies.
This commit is contained in:
parent
9c81c318f6
commit
d4edfa1e2e
@ -23,6 +23,8 @@
|
||||
#ifndef SIM_ENDIAN_H
|
||||
#define SIM_ENDIAN_H
|
||||
|
||||
#include "sim-types.h"
|
||||
|
||||
/* C byte conversion functions */
|
||||
|
||||
INLINE_SIM_ENDIAN(unsigned_1) endian_h2t_1(unsigned_1 x);
|
||||
|
Loading…
x
Reference in New Issue
Block a user