Patch libgd-stdarg.patch for GD related Bug #74744
Patch version 2017-06-11 11:38 UTC
Return to Bug #74744 |
Download this patch
Patch Revisions:
Developer: rainer.jung@kippdata.de
--- ext/gd/libgd/gd.h 2017-06-06 15:25:00.000000000 +0200
+++ ext/gd/libgd/gd.h 2017-06-11 13:31:24.826517000 +0200
@@ -46,5 +46,18 @@
#include <stdio.h>
#include "gd_io.h"
+/* va_list needed in gdErrorMethod */
+#ifdef PHP_WIN32
+# include <stdarg.h>
+#else
+# if HAVE_STDARG_H
+# include <stdarg.h>
+# else
+# if HAVE_SYS_VARARGS_H
+# include <sys/varargs.h>
+# endif
+# endif
+#endif
+
/* The maximum number of palette entries in palette-based images.
|