summaryrefslogtreecommitdiff
path: root/rts/posix/ticker/Pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/posix/ticker/Pthread.c')
-rw-r--r--rts/posix/ticker/Pthread.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/rts/posix/ticker/Pthread.c b/rts/posix/ticker/Pthread.c
index 7d39fd1b10..c0160a9fc5 100644
--- a/rts/posix/ticker/Pthread.c
+++ b/rts/posix/ticker/Pthread.c
@@ -44,17 +44,10 @@
#include "Schedule.h"
#include "posix/Clock.h"
-/* As recommended in the autoconf manual */
-# if defined(TIME_WITH_SYS_TIME)
-# include <sys/time.h>
-# include <time.h>
-# else
-# if defined(HAVE_SYS_TIME_H)
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-# endif
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
+#include <time.h>
#if defined(HAVE_SIGNAL_H)
# include <signal.h>