summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReeze Xia <reeze@php.net>2015-11-07 22:15:19 +0800
committerAnatol Belski <ab@php.net>2015-11-11 10:56:56 +0100
commit7beb0d449f417b568e70f5550e49027ee67ea5db (patch)
tree7a60975ed22d37a6614319b3a4654285bd5db947
parent2f8b6ebddc3dff2e8889fd54c5006c4007f8a29b (diff)
downloadphp-git-7beb0d449f417b568e70f5550e49027ee67ea5db.tar.gz
C99 complain fix
-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