reggen.h: fix broken stm32 build with gcc-14

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 2 May 2026 17:28:59 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 472acce40182eb0cf684ee53ff909ea8be195e14
Author: mojyack <[email protected]>
Date:   Fri May 1 13:08:11 2026 +0900

    reggen.h: fix broken stm32 build with gcc-14
    
    Change-Id: Ib504e6a75ac88be325adc6dd19c88bf263178f2d

diff --git a/firmware/export/reggen.h b/firmware/export/reggen.h
index ce66bd718b..4a15ddb912 100644
--- a/firmware/export/reggen.h
+++ b/firmware/export/reggen.h
@@ -22,7 +22,9 @@
 #ifndef __REGGEN_H__
 #define __REGGEN_H__
 
+#ifndef __ASSEMBLER__
 #include <stdint.h>
+#endif
 
 #define __REGGEN_VAR_OR1(p, s1) \
     ((p ## s1))
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs