summaryrefslogtreecommitdiff
path: root/rts/posix/Itimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/posix/Itimer.c')
-rw-r--r--rts/posix/Itimer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/posix/Itimer.c b/rts/posix/Itimer.c
index 59d34be5fb..e889cdfad9 100644
--- a/rts/posix/Itimer.c
+++ b/rts/posix/Itimer.c
@@ -48,6 +48,9 @@
#define USE_PTHREAD_FOR_ITIMER
#endif
+#if defined(freebsd_HOST_OS) && defined(THREADED_RTS)
+#define USE_PTHREAD_FOR_ITIMER
+#endif
#if defined(solaris2_HOST_OS)
/* USE_TIMER_CREATE is usually disabled for Solaris. In fact it is