Include collectd.h before testing.h
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 8 Aug 2016 11:12:08 +0000 (13:12 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 8 Aug 2016 11:12:08 +0000 (13:12 +0200)
commit0ebdad12ec580881cf998fc32dddb04d346a7310
treebd02caf3269ccf64609b3d6fb0740a298cef0181
parentdb95e86b9674d7fcd971716430a19d5358b2f3c7
Include collectd.h before testing.h

testing.h includes system headers that set #define _FILE_OFFSET_BITS 32,
if not already defined. We define them in config.h, which is included by collectd.h

Fixes tests on 32-bit Solaris (#1301)
src/utils_format_json_test.c