[PATCH 14/18] ptpd: Includes needed to compile statistics dependencies for RTEMS

Gabriel Moyano gabriel.moyano at dlr.de
Wed Apr 12 13:54:18 UTC 2023


---
 freebsd/contrib/ptpd/src/ptpd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/freebsd/contrib/ptpd/src/ptpd.h b/freebsd/contrib/ptpd/src/ptpd.h
index d8bb4b1e..e0e2b1ac 100644
--- a/freebsd/contrib/ptpd/src/ptpd.h
+++ b/freebsd/contrib/ptpd/src/ptpd.h
@@ -169,13 +169,13 @@
 
 #include "timingdomain.h"
 
-#ifdef PTPD_STATISTICS
+#if defined(PTPD_STATISTICS) || defined(__rtems__)
 #include "dep/outlierfilter.h"
 #endif
 
 #include "datatypes.h"
 
-#ifdef PTPD_STATISTICS
+#if defined(PTPD_STATISTICS) || defined(__rtems__)
 #include "dep/statistics.h"
 #endif
 
-- 
2.25.1



More information about the devel mailing list