diff options
Diffstat (limited to 'sapi/fpm/fpm/fpm_stdio.c')
-rw-r--r-- | sapi/fpm/fpm/fpm_stdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fpm/fpm/fpm_stdio.c b/sapi/fpm/fpm/fpm_stdio.c index ddedfb48c7..1742467b36 100644 --- a/sapi/fpm/fpm/fpm_stdio.c +++ b/sapi/fpm/fpm/fpm_stdio.c @@ -49,7 +49,7 @@ static inline int fpm_use_error_log() { /* {{{ */ * - SysV init launch php-fpm as a daemon * - Systemd launch php-fpm in foreground */ -#if HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H if (fpm_global_config.daemonize || (!isatty(STDERR_FILENO) && !fpm_globals.force_stderr)) { #else if (fpm_global_config.daemonize) { |