summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-01-07 09:22:53 +0000
committerfoobar <sniper@php.net>2001-01-07 09:22:53 +0000
commit9f680435246a7a848b12f8a0faddb440d927cc3b (patch)
treeccc2215b4d096493f008accb83dc404df4293b45 /ext
parentdd2cd995cb0e7a3f8d24151f6c723eedae81a0d2 (diff)
downloadphp-git-9f680435246a7a848b12f8a0faddb440d927cc3b.tar.gz
Fixed bug: 8478
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/gdcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gdcache.h b/ext/gd/gdcache.h
index cdfbf71f95..06bf0ee6ce 100644
--- a/ext/gd/gdcache.h
+++ b/ext/gd/gdcache.h
@@ -40,7 +40,7 @@
/* header */
/*********************************************************/
-#ifndef _OSD_POSIX
+#if (!defined _OSD_POSIX) && HAVE_MALLOC_H
#include <malloc.h>
#else
#include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */