projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db95e86
)
Include collectd.h before testing.h
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 8 Aug 2016 11:12:08 +0000
(13:12 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 8 Aug 2016 11:12:08 +0000
(13:12 +0200)
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
patch
|
blob
|
history
diff --git
a/src/utils_format_json_test.c
b/src/utils_format_json_test.c
index
aa275fd
..
1c8a8ce
100644
(file)
--- a/
src/utils_format_json_test.c
+++ b/
src/utils_format_json_test.c
@@
-24,8
+24,9
@@
* Florian octo Forster <octo at collectd.org>
*/
-#include "testing.h"
#include "collectd.h"
+
+#include "testing.h"
#include "utils_format_json.h"
#include "common.h" /* for STATIC_ARRAY_SIZE */