]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/d10v/endian.c
sim: d10v: move arch-specific settings to internal header
[thirdparty/binutils-gdb.git] / sim / d10v / endian.c
index 44e80e6d65301f6556b570ca979f9dc680b7b495..e6212babdaa9ce2900912c1370f506b30a6218ed 100644 (file)
@@ -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)
 {