com php-src: C99 complain fix: ext/opcache/zend_file_cache .c

From: Date: Sat, 07 Nov 2015 14:15:19 +0000
Subject: com php-src: C99 complain fix: ext/opcache/zend_file_cache .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89633@lists.php.net to get a copy of this message
Commit: c524f43e4f6869854d03e11336ddbccab255887a Author: Reeze Xia <reeze@php.net> Sat, 7 Nov 2015 22:15:19 +0800 Parents: e4c1e90536ca00ed030335f4162902b3f06125b0 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c524f43e4f6869854d03e11336ddbccab255887a Log: C99 complain fix Changed paths: M ext/opcache/zend_file_cache.c Diff: diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c index d1ea0a4..7c615e9 100644 --- a/ext/opcache/zend_file_cache.c +++ b/ext/opcache/zend_file_cache..c @@ -36,6 +36,10 @@ #include <sys/stat.h> #include <fcntl.h> +#if HAVE_UNISTD_H +#include <unistd.h> +#endif + #ifdef HAVE_SYS_UIO_H # include <sys/uio.h> #endif

« previous php.cvs (#89633) next »