summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorEric J. Mislivec <emislivec@nagios.com>2014-06-05 21:05:46 (GMT)
committerJan Wagner <waja@cyconet.org>2014-06-28 16:09:28 (GMT)
commit6e246799b939d29fe80da03ee39a24ef68f78cb0 (patch)
tree33fa821a47b18a50445c44684d03df101da9542f /plugins/check_tcp.c
parent7508da9360a77c6799e74a8109b768a1b8fbba11 (diff)
downloadmonitoring-plugins-6e246799b939d29fe80da03ee39a24ef68f78cb0.tar.gz
Include common.h before any system headers.refs/pull/1262/head
This should fix some problems building on AIX.
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 2714961..ebdccd1 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