Browse Source

Merge pull request #9236 from polarvid/shell/arm64-header

quality: include the essential only to avoid recursion
Bernard Xiong 11 months ago
parent
commit
02ef02211c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libcpu/aarch64/common/include/armv8.h
  2. 1 1
      libcpu/aarch64/common/include/cpuport.h

+ 1 - 1
libcpu/aarch64/common/include/armv8.h

@@ -92,7 +92,7 @@
 
 #else /* !__ASSEMBLY__ */
 
-#include <rtdef.h>
+#include <rttypes.h>
 
 typedef struct { rt_uint64_t value[2]; } rt_uint128_t;
 

+ 1 - 1
libcpu/aarch64/common/include/cpuport.h

@@ -15,7 +15,7 @@
 
 #include <armv8.h>
 #include <rtcompiler.h>
-#include <rtdef.h>
+#include <rttypes.h>
 
 #ifdef RT_USING_SMP