summaryrefslogtreecommitdiff
path: root/ext/zip/zip_stream.c
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2017-06-09 09:22:05 +0200
committerRemi Collet <remi@php.net>2017-06-09 09:22:05 +0200
commit75cda24b823a17f38e2ecca227a8c41bda00970c (patch)
tree28602c399f984cac1324c66a73069a6b2553b84e /ext/zip/zip_stream.c
parent22cdfc2504a75adb5414357c6c8a9feea2693f84 (diff)
downloadphp-git-75cda24b823a17f38e2ecca227a8c41bda00970c.tar.gz
cleanup
ssite_t is used in lot of places, without need for this. If really needed, should be in global location, not in an extension
Diffstat (limited to 'ext/zip/zip_stream.c')
-rw-r--r--ext/zip/zip_stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c
index 2ed584021d..8e7dbcf769 100644
--- a/ext/zip/zip_stream.c
+++ b/ext/zip/zip_stream.c
@@ -30,6 +30,9 @@
#include "ext/standard/url.h"
+/* needed for ssize_t definition */
+#include <sys/types.h>
+
struct php_zip_stream_data_t {
struct zip *za;
struct zip_file *zf;