Add standard include early or _FILE_OFFSET_BITS will have definition mismatches on...
authorDagobert Michelsen <dam@opencsw.org>
Thu, 27 Jun 2019 12:08:30 +0000 (14:08 +0200)
committerMatthias Runge <mrunge@redhat.com>
Tue, 2 Jul 2019 09:35:22 +0000 (11:35 +0200)
(cherry picked from commit 54d4f889eb72249824ef4ee6b155b0e0fb858be2)

src/daemon/globals.c
src/utils/cmds/cmds_test.c
src/utils/common/common_test.c
src/utils/proc_pids/proc_pids_test.c

index a76a44c..5409294 100644 (file)
@@ -21,8 +21,8 @@
  * DEALINGS IN THE SOFTWARE.
  **/
 
-#include "globals.h"
 #include "utils/common/common.h"
+#include "globals.h"
 
 #if HAVE_KSTAT_H
 #include <kstat.h>
index 713f032..c0602e6 100644 (file)
@@ -24,9 +24,9 @@
  *   Sebastian 'tokkee' Harl <sh at tokkee.org>
  **/
 
+#include "utils/common/common.h"
 #include "testing.h"
 #include "utils/cmds/cmds.h"
-#include "utils/common/common.h"
 
 static void error_cb(void *ud, cmd_status_t status, const char *format,
                      va_list ap) {
index 426082f..0be8ddd 100644 (file)
@@ -24,8 +24,8 @@
  *   Florian octo Forster <octo at collectd.org>
  */
 
-#include "testing.h"
 #include "utils/common/common.h"
+#include "testing.h"
 
 #if HAVE_KSTAT_H
 #include <kstat.h>
index 06b8d39..2693b1f 100644 (file)
@@ -1,5 +1,5 @@
-#include "testing.h"
 #include "utils/proc_pids/proc_pids.c" /* sic */
+#include "testing.h"
 #include <sys/stat.h>
 
 /***************************************************************************