summaryrefslogtreecommitdiffstats
path: root/bsd/freebsd/contrib/ntp/ntpd/ntpsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/freebsd/contrib/ntp/ntpd/ntpsim.c')
-rw-r--r--bsd/freebsd/contrib/ntp/ntpd/ntpsim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd/freebsd/contrib/ntp/ntpd/ntpsim.c b/bsd/freebsd/contrib/ntp/ntpd/ntpsim.c
index 6f637d3..62595da 100644
--- a/bsd/freebsd/contrib/ntp/ntpd/ntpsim.c
+++ b/bsd/freebsd/contrib/ntp/ntpd/ntpsim.c
@@ -16,6 +16,9 @@
#include "ntpd.h"
#include "ntp_config.h"
+#ifdef __rtems__
+#invlude <machine/rtems-bsd-program.h>
+#endif
/* forward prototypes */
int determine_event_ordering(const Event *e1, const Event *e2);
int determine_recv_buf_ordering(const struct recvbuf *b1,