Procházet zdrojové kódy

Merge pull request #41 from nagios-plugins/aix_build_fix

Include common.h before any system headers.
abrist před 11 roky
rodič
revize
8620755e2e
2 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 1 2
      plugins/check_tcp.c
  2. 2 2
      plugins/negate.c

+ 1 - 2
plugins/check_tcp.c

@@ -32,13 +32,12 @@ char *progname;
 const char *copyright = "1999-2014";
 const char *email = "devel@nagios-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

+ 2 - 2
plugins/negate.c

@@ -35,12 +35,12 @@ const char *email = "devel@nagios-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 **);