Skip to content

Commit 97fcb44

Browse files
committed
Add #if block around specific variable
1 parent 2c1772e commit 97fcb44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sapi/fpm/fpm/fpm_status.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ int fpm_status_export_to_zval(zval *status)
5050
zval fpm_proc_stats, fpm_proc_stat;
5151
time_t now_epoch;
5252
struct timeval duration, now;
53-
double cpu;
5453
int i;
55-
54+
#if HAVE_FPM_LQ
55+
double cpu;
56+
#endif
5657

5758
scoreboard_p = fpm_scoreboard_acquire(NULL, 1);
5859
if (!scoreboard_p) {

0 commit comments

Comments
 (0)