diff options
author | Eric J. Mislivec <emislivec@nagios.com> | 2014-06-05 16:05:46 -0500 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-06-28 18:09:28 +0200 |
commit | 6e246799b939d29fe80da03ee39a24ef68f78cb0 (patch) | |
tree | 33fa821a47b18a50445c44684d03df101da9542f /plugins/check_tcp.c | |
parent | 7508da9360a77c6799e74a8109b768a1b8fbba11 (diff) | |
download | monitoring-plugins-6e246799b939d29fe80da03ee39a24ef68f78cb0.tar.gz |
Include common.h before any system headers.
This should fix some problems building on AIX.
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 3 |
1 files changed, 1 insertions, 2 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; | |||
32 | const char *copyright = "1999-2008"; | 32 | const char *copyright = "1999-2008"; |
33 | const char *email = "devel@monitoring-plugins.org"; | 33 | const 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 |