Patch 72665-check-alloca.diff for mysqlnd_ms Bug #72665
Patch version 2016-07-24 22:26 UTC
Return to Bug #72665 |
Download this patch
Patch Revisions:
Developer: michiel@vanbaak.eu
Index: config.m4
===================================================================
--- config.m4 (revision 339708)
+++ config.m4 (working copy)
@@ -51,4 +51,5 @@
], [
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
])
+ AC_FUNC_ALLOCA
fi
Index: fabric/mysqlnd_fabric_strategy_dump.c
===================================================================
--- fabric/mysqlnd_fabric_strategy_dump.c (revision 339708)
+++ fabric/mysqlnd_fabric_strategy_dump.c (working copy)
@@ -17,7 +17,9 @@
*/
#include <stddef.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <strings.h>
#include <libxml/tree.h>
|