diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_http.c | 3 | ||||
| -rw-r--r-- | plugins/check_smtp.c | 4 | ||||
| -rw-r--r-- | plugins/common.h | 6 |
3 files changed, 3 insertions, 10 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 151eacac..b3d2ae39 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -41,12 +41,11 @@ const char *revision = "$Revision$"; | |||
| 41 | const char *copyright = "1999-2008"; | 41 | const char *copyright = "1999-2008"; |
| 42 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 42 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 43 | 43 | ||
| 44 | #include <ctype.h> | ||
| 45 | |||
| 46 | #include "common.h" | 44 | #include "common.h" |
| 47 | #include "netutils.h" | 45 | #include "netutils.h" |
| 48 | #include "utils.h" | 46 | #include "utils.h" |
| 49 | #include "base64.h" | 47 | #include "base64.h" |
| 48 | #include <ctype.h> | ||
| 50 | 49 | ||
| 51 | #define INPUT_DELIMITER ";" | 50 | #define INPUT_DELIMITER ";" |
| 52 | 51 | ||
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 3310bceb..97208b05 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
| @@ -36,13 +36,13 @@ const char *revision = "$Revision$"; | |||
| 36 | const char *copyright = "2000-2007"; | 36 | const char *copyright = "2000-2007"; |
| 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 38 | 38 | ||
| 39 | #include <ctype.h> | ||
| 40 | |||
| 41 | #include "common.h" | 39 | #include "common.h" |
| 42 | #include "netutils.h" | 40 | #include "netutils.h" |
| 43 | #include "utils.h" | 41 | #include "utils.h" |
| 44 | #include "base64.h" | 42 | #include "base64.h" |
| 45 | 43 | ||
| 44 | #include <ctype.h> | ||
| 45 | |||
| 46 | #ifdef HAVE_SSL | 46 | #ifdef HAVE_SSL |
| 47 | int check_cert = FALSE; | 47 | int check_cert = FALSE; |
| 48 | int days_till_exp; | 48 | int days_till_exp; |
diff --git a/plugins/common.h b/plugins/common.h index 39a28a9d..0711dbf1 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
| @@ -35,12 +35,6 @@ | |||
| 35 | #define _COMMON_H_ | 35 | #define _COMMON_H_ |
| 36 | 36 | ||
| 37 | #include "config.h" | 37 | #include "config.h" |
| 38 | /* This needs to be removed for Solaris servers, where 64 bit files, but 32 bit architecture | ||
| 39 | This needs to be done early on because subsequent system includes use _FILE_OFFSET_BITS | ||
| 40 | Cannot remove from config.h because is included by regex.c from lib/ */ | ||
| 41 | #if __sun__ && !defined(_LP64) && _FILE_OFFSET_BITS == 64 | ||
| 42 | #undef _FILE_OFFSET_BITS | ||
| 43 | #endif | ||
| 44 | 38 | ||
| 45 | #ifdef HAVE_FEATURES_H | 39 | #ifdef HAVE_FEATURES_H |
| 46 | #include <features.h> | 40 | #include <features.h> |
