]> granicus.if.org Git - php/commitdiff
Fixed bug: 8478
authorfoobar <sniper@php.net>
Sun, 7 Jan 2001 09:22:53 +0000 (09:22 +0000)
committerfoobar <sniper@php.net>
Sun, 7 Jan 2001 09:22:53 +0000 (09:22 +0000)
ext/gd/gdcache.h

index cdfbf71f95f140b4c0176910035d52a2ad8b96b7..06bf0ee6ce1f76d654ef68859c2ca5bdf50e51e9 100644 (file)
@@ -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 */