summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2003-04-08 07:36:58 +0000
committerSebastian Bergmann <sebastian@php.net>2003-04-08 07:36:58 +0000
commit11f53cd111ebab0cadf06c082b5086057a8fa265 (patch)
treea897be897fc9ac6b0a7a65024d7d80e1d0ab8355
parentbf554c279f890ab8070c4a6c534a6f3dea7d58c6 (diff)
downloadphp-git-11f53cd111ebab0cadf06c082b5086057a8fa265.tar.gz
Fix Win32 build.
-rw-r--r--ext/gd/libgd/gd_jpeg.c4
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>