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; const char *copyright = "1999-2008"; const char *email = "devel@monitoring-plugins.org"; -#include <ctype.h> - #include "common.h" #include "netutils.h" #include "utils.h" #include "utils_tcp.h" +#include <ctype.h> #include <sys/select.h> #ifdef HAVE_SSL |