diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-11 00:10:23 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2008-03-11 00:10:23 +0000 |
commit | dc2ec71d22943a02058f1944e05e4f5c8db15f88 (patch) | |
tree | dc8cedfc2f151e01cc09b4e640fc5e8b33cfe62c /plugins | |
parent | 9f3d864fd3e47d4e728b196b1b6948a8a5e47e4e (diff) | |
download | monitoring-plugins-dc2ec71d22943a02058f1944e05e4f5c8db15f88.tar.gz |
Fixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
redefinition warnings. Fixed helper ar error in ./configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1938 f882894a-f735-0410-b71e-b25c423dba1c
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> |