summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2023-03-13 17:41:06 +0100
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2023-03-14 00:20:21 +0100
commit29db5f666c70a1e4d9f56d3c5efdaa7822b807ca (patch)
treefdfac86163eeab747a7f2419122b5a61d081f227
parent7d6b3d40085562d6f9f110f4ba921cf061548844 (diff)
downloadmariadb-git-bb-10.5-MDEV-30700-postfix.tar.gz
Post-MDEV-30700: moving alloca() definitions from all *.h files to new header filebb-10.5-MDEV-30700-postfix
Included config file for proper compilation without <my_global.h>
-rw-r--r--include/my_alloca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_alloca.h b/include/my_alloca.h
index 761c2adb890..25fd8867e69 100644
--- a/include/my_alloca.h
+++ b/include/my_alloca.h
@@ -16,6 +16,8 @@
#ifndef MY_ALLOCA_INCLUDED
#define MY_ALLOCA_INCLUDED
+#include <my_config.h>
+
#ifdef _WIN32
#include <malloc.h> /*for alloca*/
/*