From 7a43e0b7b46589add8b7a3e7a870dc6485e04cdf Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 22 Aug 2016 21:43:15 +0200 Subject: [PATCH] Really fix tests on Solaris 3b264ee checked for KERNEL_SOLARIS, but this is only defined if config.h is included. --- src/utils_format_json_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils_format_json_test.c b/src/utils_format_json_test.c index 1400694b..d13c932f 100644 --- 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 -- 2.11.0