]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
daemon: Include "collectd.h" first.
authorFlorian Forster <octo@google.com>
Tue, 1 Sep 2020 13:07:03 +0000 (15:07 +0200)
committerFlorian Forster <octo@google.com>
Tue, 1 Sep 2020 13:07:03 +0000 (15:07 +0200)
Fixes "macro redefined: _FILE_OFFSET_BITS" errors.

src/daemon/cmd.c
src/daemon/collectd.c

index 09aee6abb16268c3021cb72d2d2979a99e105f0b..89277c8b94fd6f88f978323e0fbe6958f49ae438 100644 (file)
@@ -21,9 +21,9 @@
  * DEALINGS IN THE SOFTWARE.
  **/
 
-#include "cmd.h"
 #include "collectd.h"
 
+#include "cmd.h"
 #include "utils/common/common.h"
 #include <sys/un.h>
 
index 78d410cadb8214dcb6315f2e257ef8dbc9b6a189..fbd8e1b2b9b5762407d6d53d0d209fa7629f1949 100644 (file)
@@ -25,9 +25,9 @@
  *   Alvaro Barcellos <alvaro.barcellos at gmail.com>
  **/
 
-#include "cmd.h"
 #include "collectd.h"
 
+#include "cmd.h"
 #include "configfile.h"
 #include "plugin.h"
 #include "utils/common/common.h"