diff options
Diffstat (limited to 'sim/d10v/endian.c')
-rw-r--r-- | sim/d10v/endian.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/d10v/endian.c b/sim/d10v/endian.c index 44e80e6..e6212ba 100644 --- a/sim/d10v/endian.c +++ b/sim/d10v/endian.c @@ -1,5 +1,5 @@ /* If we're being compiled as a .c file, rather than being included in - d10v_sim.h, then ENDIAN_INLINE won't be defined yet. */ + d10v-sim.h, then ENDIAN_INLINE won't be defined yet. */ /* This must come before any other includes. */ #include "defs.h" @@ -10,6 +10,8 @@ #define ENDIAN_INLINE #endif +#include "d10v-sim.h" + ENDIAN_INLINE uint16_t get_word (const uint8_t *x) { |