Include common.h before any system headers.

This should fix some problems building on AIX.
This commit is contained in:
Eric J. Mislivec 2014-06-05 16:05:46 -05:00 committed by Jan Wagner
parent 7508da9360
commit 6e246799b9
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -35,12 +35,12 @@ const char *email = "devel@monitoring-plugins.org";
#define DEFAULT_TIMEOUT 11
#include <ctype.h>
#include "common.h"
#include "utils.h"
#include "utils_cmd.h"
#include <ctype.h>
/* char *command_line; */
static const char **process_arguments (int, char **);