summaryrefslogtreecommitdiff
path: root/rts/posix/ticker/Setitimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/posix/ticker/Setitimer.c')
-rw-r--r--rts/posix/ticker/Setitimer.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/rts/posix/ticker/Setitimer.c b/rts/posix/ticker/Setitimer.c
index 816d603db3..1dcd07b2c2 100644
--- a/rts/posix/ticker/Setitimer.c
+++ b/rts/posix/ticker/Setitimer.c
@@ -15,17 +15,10 @@
#include "posix/Clock.h"
#include "posix/Signals.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>