diff options
Diffstat (limited to 'plugins/common.h')
-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 47b1e4df..603bae55 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -91,16 +91,10 @@ | |||
91 | # define GET_NUMBER_OF_CPUS() -1 | 91 | # define GET_NUMBER_OF_CPUS() -1 |
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #ifdef TIME_WITH_SYS_TIME | 94 | #ifdef HAVE_SYS_TIME_H |
95 | # include <sys/time.h> | 95 | # include <sys/time.h> |
96 | # include <time.h> | ||
97 | #else | ||
98 | # ifdef HAVE_SYS_TIME_H | ||
99 | # include <sys/time.h> | ||
100 | # else | ||
101 | # include <time.h> | ||
102 | # endif | ||
103 | #endif | 96 | #endif |
97 | #include <time.h> | ||
104 | 98 | ||
105 | #ifdef HAVE_SYS_TYPES_H | 99 | #ifdef HAVE_SYS_TYPES_H |
106 | #include <sys/types.h> | 100 | #include <sys/types.h> |