[PATCH 04/12] timepps: Add missing include for atomic type

Gabriel Moyano gabriel.moyano at dlr.de
Thu Apr 7 08:35:59 UTC 2022


---
 cpukit/include/sys/timepps.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h
index 01212f0b43..621afb08ec 100644
--- a/cpukit/include/sys/timepps.h
+++ b/cpukit/include/sys/timepps.h
@@ -24,6 +24,9 @@
 #include <sys/_ffcounter.h>
 #include <sys/ioccom.h>
 #include <sys/time.h>
+#ifdef __rtems__
+#include <rtems/score/atomic.h>
+#endif /* __rtems__ */
 
 #define PPS_API_VERS_1	1
 
-- 
2.25.1



More information about the devel mailing list