Added missing include of "collectd.h"
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 24 Oct 2018 14:16:12 +0000 (21:16 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 24 Oct 2018 14:16:12 +0000 (21:16 +0700)
This adressed to solve compilation issue on Solaris platform:

./src/config.h:1526:0: error: "_FILE_OFFSET_BITS" redefined [-Werror]

src/utils_format_stackdriver_test.c

index fa43866..1e96b65 100644 (file)
@@ -20,6 +20,8 @@
  *   Florian Forster <octo at collectd.org>
  **/
 
+#include "collectd.h"
+
 #include "testing.h"
 #include "utils_format_stackdriver.h"