]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Use stdint-gcc.h in xtheadmemidx-helpers.h
authorChristoph Müllner <christoph.muellner@vrull.eu>
Tue, 7 Nov 2023 09:43:08 +0000 (10:43 +0100)
committerChristoph Müllner <christoph.muellner@vrull.eu>
Tue, 7 Nov 2023 10:47:10 +0000 (11:47 +0100)
stdint.h can be replaced with stdint-gcc.h to resolve some missing
system headers in non-multilib installations.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/testsuite/ChangeLog:

* gcc.target/riscv/xtheadmemidx-helpers.h:
Replace stdint.h with stdint-gcc.h.

gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h

index a97f08c5cc1bec3f4dc08f3fad04f9aed3007390..9d8ce124a93388990b2cc377f793fc6e61092333 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef XTHEADMEMIDX_HELPERS_H
 #define XTHEADMEMIDX_HELPERS_H
 
-#include <stdint.h>
+#include <stdint-gcc.h>
 
 #define intX_t long
 #define uintX_t unsigned long