From: Rasmus Lerdorf <rasmus@php.net>
Date: Thu, 19 Jan 2012 22:35:22 +0000 (+0000)
Subject: Missing ifdef here
X-Git-Tag: PHP-5.4.1-RC1~26^2~137
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f27b1f1a699163def648252ee4fa0122cbe06ea;p=php

Missing ifdef here
Fixes bug 60811
---

diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c
index 61f066fc91..304076d35e 100644
--- a/sapi/fpm/fpm/fpm_conf.c
+++ b/sapi/fpm/fpm/fpm_conf.c
@@ -1171,7 +1171,9 @@ static void fpm_conf_ini_parser_include(char *inc, void *arg TSRMLS_DC) /* {{{ *
 {
 	char *filename;
 	int *error = (int *)arg;;
+#ifdef HAVE_GLOB
 	glob_t g;
+#endif
 	int i;
 
 	if (!inc || !arg) return;