Fix errors from stdint.h removal (cf6fb81346e)
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 2 May 2026 18:22:48 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit bafc796ce793dcebae593c54a2f42da4ef0016e2 Author: Aidan MacDonald <[email protected]> Date: Sat May 2 23:21:26 2026 +0100 Fix errors from stdint.h removal (cf6fb81346e) Change-Id: Ie9457121448f47db14300e035dc5b5eccd086884 diff --git a/firmware/export/axp-2101.h b/firmware/export/axp-2101.h index e84f552730..cd810ff006 100644 --- a/firmware/export/axp-2101.h +++ b/firmware/export/axp-2101.h @@ -25,6 +25,7 @@ #include "config.h" #include <stdbool.h> #include <stdint.h> +#include <limits.h> /* ADC channels */ #define AXP2101_ADC_VBAT_VOLTAGE 0 diff --git a/firmware/export/axp-pmu.h b/firmware/export/axp-pmu.h index 24c992dea3..77ef1cc356 100644 --- a/firmware/export/axp-pmu.h +++ b/firmware/export/axp-pmu.h @@ -25,6 +25,7 @@ #include "config.h" #include <stdbool.h> #include <stdint.h> +#include <limits.h> /* ADC channels */ #define ADC_ACIN_VOLTAGE 0 diff --git a/firmware/target/arm/s5l8700/app.lds b/firmware/target/arm/s5l8700/app.lds index 01b57c3bbd..a0bc6550f3 100644 --- a/firmware/target/arm/s5l8700/app.lds +++ b/firmware/target/arm/s5l8700/app.lds @@ -1,3 +1,4 @@ +#define __ASSEMBLER__ #include "config.h" #include "cpu.h" diff --git a/firmware/target/arm/s5l8702/crypto-s5l8702.h b/firmware/target/arm/s5l8702/crypto-s5l8702.h index d32227c808..7915a53872 100644 --- a/firmware/target/arm/s5l8702/crypto-s5l8702.h +++ b/firmware/target/arm/s5l8702/crypto-s5l8702.h @@ -21,7 +21,9 @@ #ifndef __CRYPTO_S5L8702_H__ #define __CRYPTO_S5L8702_H__ +#ifndef __ASSEMBLER__ #include <stdint.h> +#endif #include "config.h" -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs