summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-03-11 00:10:23 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2008-03-11 00:10:23 (GMT)
commitdc2ec71d22943a02058f1944e05e4f5c8db15f88 (patch)
treedc8cedfc2f151e01cc09b4e640fc5e8b33cfe62c /plugins
parent9f3d864fd3e47d4e728b196b1b6948a8a5e47e4e (diff)
downloadmonitoring-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.c3
-rw-r--r--plugins/check_smtp.c4
-rw-r--r--plugins/common.h6
3 files changed, 3 insertions, 10 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 151eaca..b3d2ae3 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -41,12 +41,11 @@ const char *revision = "$Revision$";
41const char *copyright = "1999-2008"; 41const char *copyright = "1999-2008";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 42const 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 3310bce..97208b0 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -36,13 +36,13 @@ const char *revision = "$Revision$";
36const char *copyright = "2000-2007"; 36const char *copyright = "2000-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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
47int check_cert = FALSE; 47int check_cert = FALSE;
48int days_till_exp; 48int days_till_exp;
diff --git a/plugins/common.h b/plugins/common.h
index 39a28a9..0711dbf 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>