aboutsummaryrefslogtreecommitdiff
path: root/include/arch/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/types.h')
-rw-r--r--include/arch/types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/arch/types.h b/include/arch/types.h
index d8e93a9..c77af6f 100644
--- a/include/arch/types.h
+++ b/include/arch/types.h
@@ -11,6 +11,10 @@
* \todo Fix incorrect include file reference in doxygen.
*/
-#include <types.h>
+#if defined(riscv64)
+#include "../../arch/riscv64/include/types.h"
+#elif defined(riscv32)
+#include "../../arch/riscv64/include/types.h"
+#endif
#endif /* APOS_ARCH_TYPES_H */