summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.org>2014-06-28 22:24:52 +0200
committerSven Nierlein <sven@nierlein.org>2014-06-28 22:24:52 +0200
commit2438931a3fe7e600c6fe48b163125ea179faea73 (patch)
tree258fe724ecdf75a8f05f3851af90eb511702ba3b
parent8d6c1833477bd3c3202cf7c94ec39c40ed9c2902 (diff)
parent6e246799b939d29fe80da03ee39a24ef68f78cb0 (diff)
downloadmonitoring-plugins-2438931.tar.gz
Merge pull request #1262 from waja/fix_aix
Include common.h before any system headers.
-rw-r--r--plugins/check_tcp.c3
-rw-r--r--plugins/negate.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 2714961f..ebdccd1b 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -32,13 +32,12 @@ char *progname;
32const char *copyright = "1999-2008"; 32const char *copyright = "1999-2008";
33const char *email = "devel@monitoring-plugins.org"; 33const char *email = "devel@monitoring-plugins.org";
34 34
35#include <ctype.h>
36
37#include "common.h" 35#include "common.h"
38#include "netutils.h" 36#include "netutils.h"
39#include "utils.h" 37#include "utils.h"
40#include "utils_tcp.h" 38#include "utils_tcp.h"
41 39
40#include <ctype.h>
42#include <sys/select.h> 41#include <sys/select.h>
43 42
44#ifdef HAVE_SSL 43#ifdef HAVE_SSL
diff --git a/plugins/negate.c b/plugins/negate.c
index d512e346..beaed1ea 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -35,12 +35,12 @@ const char *email = "devel@monitoring-plugins.org";
35 35
36#define DEFAULT_TIMEOUT 11 36#define DEFAULT_TIMEOUT 11
37 37
38#include <ctype.h>
39
40#include "common.h" 38#include "common.h"
41#include "utils.h" 39#include "utils.h"
42#include "utils_cmd.h" 40#include "utils_cmd.h"
43 41
42#include <ctype.h>
43
44/* char *command_line; */ 44/* char *command_line; */
45 45
46static const char **process_arguments (int, char **); 46static const char **process_arguments (int, char **);