Added missing include of "collectd.h"
authorPavel Rochnyack <pavel2000@ngs.ru>
Sun, 20 May 2018 16:24:25 +0000 (23:24 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Wed, 23 May 2018 08:07:26 +0000 (15:07 +0700)
This adressed to solve compilation issue on Solaris platform:

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

src/utils_config_cores_test.c

index 4809bd3..2c6f5b6 100644 (file)
@@ -25,6 +25,8 @@
  *   Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
  **/
 
+#include "collectd.h"
+
 #include "testing.h"
 #include "utils_config_cores.c" /* sic */