[rtems commit] riscv: Include missing header file
Sebastian Huber
sebh at rtems.org
Fri Jun 24 11:08:36 UTC 2022
Module: rtems
Branch: master
Commit: 39c09b3b3d6079a17c9d15f6249997c35c10ef1f
Changeset: http://git.rtems.org/rtems/commit/?id=39c09b3b3d6079a17c9d15f6249997c35c10ef1f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 24 13:12:08 2022 +0200
riscv: Include missing header file
---
cpukit/score/cpu/riscv/include/libcpu/byteorder.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/score/cpu/riscv/include/libcpu/byteorder.h b/cpukit/score/cpu/riscv/include/libcpu/byteorder.h
index 939e51fe84..1b4f6f3b1e 100644
--- a/cpukit/score/cpu/riscv/include/libcpu/byteorder.h
+++ b/cpukit/score/cpu/riscv/include/libcpu/byteorder.h
@@ -7,6 +7,8 @@
#ifndef _LIBCPU_BYTEORDER_H
#define _LIBCPU_BYTEORDER_H
+#include <stdint.h>
+
static inline void st_le32(volatile uint32_t *addr, uint32_t value)
{
*(addr)=value ;
More information about the vc
mailing list