diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/common.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/common.h b/plugins/common.h index 833479ce..b7a7d59b 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -90,16 +90,10 @@ | |||
90 | # define GET_NUMBER_OF_CPUS() -1 | 90 | # define GET_NUMBER_OF_CPUS() -1 |
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | #ifdef TIME_WITH_SYS_TIME | 93 | #ifdef HAVE_SYS_TIME_H |
94 | # include <sys/time.h> | 94 | # include <sys/time.h> |
95 | # include <time.h> | ||
96 | #else | ||
97 | # ifdef HAVE_SYS_TIME_H | ||
98 | # include <sys/time.h> | ||
99 | # else | ||
100 | # include <time.h> | ||
101 | # endif | ||
102 | #endif | 95 | #endif |
96 | #include <time.h> | ||
103 | 97 | ||
104 | #ifdef HAVE_SYS_TYPES_H | 98 | #ifdef HAVE_SYS_TYPES_H |
105 | #include <sys/types.h> | 99 | #include <sys/types.h> |