From 5843c8cd7e960cc6cfd6bf12adf7dedaf710e9c1 Mon Sep 17 00:00:00 2001 From: CARBONNEAUX Mathieu Date: Tue, 5 Nov 2024 21:42:33 +0000 Subject: [PATCH] try to fix error: array type has incomplete element type 'struct cfg_line' --- zbx_php.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zbx_php.c b/zbx_php.c index 375c374..7948820 100644 --- a/zbx_php.c +++ b/zbx_php.c @@ -118,7 +118,7 @@ int load_php_env_config(void) { { NULL }, }; #else - static struct cfg_line cfg[] = { + static cfg_line cfg[] = { { "PHP_SCRIPT_PATH", &php_path, ZBX_CFG_TYPE_STRING , ZBX_CONF_PARM_MAND, 0, 0 }, { NULL }, };