openbsd-ports/www/php5/extensions/patches/patch-ext_gd_gdcache_h
robert 837cd0d4ce Import php-5.0.2;
PHP5 is a widely-used general-purpose scripting language 
that is especially suited for Web development and can be 
embedded into HTML.
2004-10-02 11:32:35 +00:00

12 lines
458 B
Plaintext

$OpenBSD: patch-ext_gd_gdcache_h,v 1.1.1.1 2004/10/02 11:32:35 robert Exp $
--- ext/gd/gdcache.h.orig Sun Dec 28 22:08:46 2003
+++ ext/gd/gdcache.h Tue Jul 27 01:42:24 2004
@@ -41,6 +41,7 @@
/*********************************************************/
#if (!defined(_OSD_POSIX) && !defined(__FreeBSD__)) && HAVE_MALLOC_H
+#elif !defined(__OpenBSD__)
#include <malloc.h>
#else
#include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */