]> granicus.if.org Git - php/commitdiff
Missing ifdef here
authorRasmus Lerdorf <rasmus@php.net>
Thu, 19 Jan 2012 22:35:22 +0000 (22:35 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 19 Jan 2012 22:35:22 +0000 (22:35 +0000)
Fixes bug 60811

sapi/fpm/fpm/fpm_conf.c

index 61f066fc91ab98829f3ce736d27b4ffb69eb5b3e..304076d35eb94bb365f09ce355e310c3971e9408 100644 (file)
@@ -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;