summaryrefslogtreecommitdiff
path: root/ext/zip/zip_stream.c
diff options
context:
space:
mode:
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;