]> granicus.if.org Git - php/commitdiff
Reduce downstream patches
authorlesniewskister <lesniewskister@users.noreply.github.com>
Fri, 20 Mar 2015 23:09:49 +0000 (20:39 -0230)
committerStanislav Malyshev <stas@php.net>
Mon, 23 Mar 2015 04:33:45 +0000 (21:33 -0700)
As per http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/php/5.6/patches/patch-ext_gd_libgd_gdcache_h?rev=1.1&content-type=text/x-cvsweb-markup

ext/gd/libgd/gdcache.h

index 6a6e892447bde965c412d081f7e83924c618fee4..0c5f83d92a6acbd817b9b3c7bd0decccfa4add2b 100644 (file)
@@ -41,7 +41,7 @@
 /*********************************************************/
 
 #include <stdlib.h>
-#ifdef HAVE_MALLOC_H
+#if (!defined(__OpenBSD__)) && HAVE_MALLOC_H
  #include <malloc.h>
 #endif
 #ifndef NULL