diff options
-rw-r--r-- | ext/gd/libgd/gd_jpeg.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdio.h> #include <stdlib.h> #include <setjmp.h> |