summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-04-10 02:11:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-04-10 02:11:20 +0000
commit0c0482d59c3a3652de9e85bd08a5071b10244694 (patch)
tree030f5e62eee0ca5cea93cef4e39841e8cdbc5e4d
parent00366c63fca4b335beb88164224f66a3365bd760 (diff)
downloadphp-git-0c0482d59c3a3652de9e85bd08a5071b10244694.tar.gz
MFH (fix of Win32 build by Sebastian Bergmann)
-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>