From 11f53cd111ebab0cadf06c082b5086057a8fa265 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 8 Apr 2003 07:36:58 +0000 Subject: [PATCH] Fix Win32 build. --- ext/gd/libgd/gd_jpeg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c index d6ea05f699..8fe30108f8 100644 --- a/ext/gd/libgd/gd_jpeg.c +++ b/ext/gd/libgd/gd_jpeg.c @@ -21,6 +21,10 @@ * Christian Aberger */ +#if PHP_WIN32 && !defined(ssize_t) +typedef int ssize_t; +#endif + #include #include #include -- 2.50.1