summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_file_cache.c
diff options
context:
space:
mode:
authorReeze Xia <reeze@php.net>2015-11-07 22:15:19 +0800
committerReeze Xia <reeze@php.net>2015-11-07 22:15:19 +0800
commitc524f43e4f6869854d03e11336ddbccab255887a (patch)
tree95c3867f3a614cc8f0f312676624f8b48d15ec12 /ext/opcache/zend_file_cache.c
parente4c1e90536ca00ed030335f4162902b3f06125b0 (diff)
downloadphp-git-c524f43e4f6869854d03e11336ddbccab255887a.tar.gz
C99 complain fix
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r--ext/opcache/zend_file_cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index d1ea0a46a6..7c615e927b 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