[PATCH v2 14/18] ptpd: Includes needed to compile statistics dependencies for RTEMS
Gabriel Moyano
gabriel.moyano at dlr.de
Mon Apr 17 07:59:27 UTC 2023
---
rtemsbsd/ptpd/src/ptpd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rtemsbsd/ptpd/src/ptpd.h b/rtemsbsd/ptpd/src/ptpd.h
index d8bb4b1e..e0e2b1ac 100644
--- a/rtemsbsd/ptpd/src/ptpd.h
+++ b/rtemsbsd/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