summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-01-07 11:25:47 +0100
committerGitHub <noreply@github.com>2025-01-07 11:25:47 +0100
commit558aca48ed764c46fce74c53312ce0d445ee3953 (patch)
treea90ce1e2f9916093bc82bf0cede4fd5b85b83f5e /plugins/common.h
parente445a386f8ad1166b05fcdfdb5b9cde4622a8632 (diff)
parenta8ac865e67cdd88657ac6ece4524c09360dd824e (diff)
downloadmonitoring-plugins-558aca48ed764c46fce74c53312ce0d445ee3953.tar.gz
Merge branch 'master' into fix_check_http_state_regex
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h10
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>