diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/posix/ticker/Pthread.c | 15 | ||||
-rw-r--r-- | rts/posix/ticker/Setitimer.c | 15 |
2 files changed, 8 insertions, 22 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> 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> |