diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 2 | ||||
-rw-r--r-- | firmware/export/system.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index a47581afc7..a7ef70f24d 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #ifndef __CONFIG_H__ | 20 | #ifndef __CONFIG_H__ |
21 | #define __CONFIG_H__ | 21 | #define __CONFIG_H__ |
22 | 22 | ||
23 | #include "autoconf.h" | ||
24 | |||
23 | /* symbolic names for multiple choice configurations: */ | 25 | /* symbolic names for multiple choice configurations: */ |
24 | 26 | ||
25 | /* CONFIG_TUNER (note these are combineable bit-flags) */ | 27 | /* CONFIG_TUNER (note these are combineable bit-flags) */ |
diff --git a/firmware/export/system.h b/firmware/export/system.h index 1876bc3aaa..bc54be3e1c 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -51,7 +51,7 @@ void cpu_boost(bool on_off); | |||
51 | #define MAX(a, b) (((a)>(b))?(a):(b)) | 51 | #define MAX(a, b) (((a)>(b))?(a):(b)) |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #ifdef LITTLE_ENDIAN | 54 | #ifdef ROCKBOX_LITTLE_ENDIAN |
55 | #define SWAB16(x) (x) | 55 | #define SWAB16(x) (x) |
56 | #define SWAB32(x) (x) | 56 | #define SWAB32(x) (x) |
57 | #endif | 57 | #endif |