diff options
Diffstat (limited to 'include/glibtop/global.h')
-rw-r--r-- | include/glibtop/global.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/glibtop/global.h b/include/glibtop/global.h index bd29802c..beb26b26 100644 --- a/include/glibtop/global.h +++ b/include/glibtop/global.h @@ -28,17 +28,11 @@ #endif /* _IN_LIBGTOP */ -#if TIME_WITH_SYS_TIME +#if HAVE_SYS_TIME_H # include <sys/time.h> -# include <time.h> -#else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -# endif #endif +#include <time.h> #include <stdio.h> #include <stdlib.h> |