[PATCH v2 03/12] timepps.h: Add missing include for atomic type

Gabriel Moyano gabriel.moyano at dlr.de
Fri Apr 29 07:20:42 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