summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-06-17 18:07:13 -0400
committerDaniel Black <daniel@mariadb.org>2022-06-18 07:52:58 +0300
commita9fe64679709ce3cd1471fdcec393330dac219f8 (patch)
tree79c0d2138c4e214dbf50a26cf05b2b1e3f59bbb2
parent20b8e5a07e50cd101b2d9d1d1099dd11577a9cc2 (diff)
downloadmariadb-git-a9fe64679709ce3cd1471fdcec393330dac219f8.tar.gz
Fix building the Hashicorp plugin on OpenBSD / NetBSD and DragonFlyBSD
-rw-r--r--plugin/hashicorp_key_management/hashicorp_key_management_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/hashicorp_key_management/hashicorp_key_management_plugin.cc b/plugin/hashicorp_key_management/hashicorp_key_management_plugin.cc
index 629cae09865..730707ff52b 100644
--- a/plugin/hashicorp_key_management/hashicorp_key_management_plugin.cc
+++ b/plugin/hashicorp_key_management/hashicorp_key_management_plugin.cc
@@ -26,7 +26,7 @@
#ifdef _WIN32
#include <malloc.h>
#define alloca _alloca
-#elif !defined(__FreeBSD__)
+#elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
#include <alloca.h>
#endif
#include <algorithm>