projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d74a63
)
Really fix tests on Solaris
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 22 Aug 2016 19:43:15 +0000
(21:43 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 22 Aug 2016 19:43:15 +0000
(21:43 +0200)
3b264ee
checked for KERNEL_SOLARIS, but this is only defined if config.h is included.
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
1400694
..
d13c932
100644
(file)
--- a/
src/utils_format_json_test.c
+++ b/
src/utils_format_json_test.c
@@
-27,6
+27,8
@@
/* Workaround for Solaris 10 defining label_t
* Issue #1301
*/
+
+#include "config.h"
#if KERNEL_SOLARIS
# ifndef _POSIX_C_SOURCE
# define _POSIX_C_SOURCE 200112L