diff options
Diffstat (limited to 'apps/plugins/doom/m_swap.h')
-rw-r--r-- | apps/plugins/doom/m_swap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/doom/m_swap.h b/apps/plugins/doom/m_swap.h index fdf2b92a15..026e2df1eb 100644 --- a/apps/plugins/doom/m_swap.h +++ b/apps/plugins/doom/m_swap.h | |||
@@ -37,6 +37,8 @@ | |||
37 | #pragma interface | 37 | #pragma interface |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #include "plugin.h" | ||
41 | |||
40 | /* Endianess handling. */ | 42 | /* Endianess handling. */ |
41 | 43 | ||
42 | /* cph - First the macros to do the actual byte swapping */ | 44 | /* cph - First the macros to do the actual byte swapping */ |
@@ -70,7 +72,7 @@ | |||
70 | * Use separate macros so network could be converted to big-endian later. | 72 | * Use separate macros so network could be converted to big-endian later. |
71 | */ | 73 | */ |
72 | 74 | ||
73 | #ifdef __BIG_ENDIAN__ | 75 | #ifndef ROCKBOX_LITTLE_ENDIAN |
74 | 76 | ||
75 | #define doom_wtohl(x) doom_swap_l(x) | 77 | #define doom_wtohl(x) doom_swap_l(x) |
76 | #define doom_htowl(x) doom_swap_l(x) | 78 | #define doom_htowl(x) doom_swap_l(x) |