Commit a9fe6467 authored by Brad Smith's avatar Brad Smith Committed by Daniel Black

Fix building the Hashicorp plugin on OpenBSD / NetBSD and DragonFlyBSD

parent 20b8e5a0
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#ifdef _WIN32 #ifdef _WIN32
#include <malloc.h> #include <malloc.h>
#define alloca _alloca #define alloca _alloca
#elif !defined(__FreeBSD__) #elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
#include <alloca.h> #include <alloca.h>
#endif #endif
#include <algorithm> #include <algorithm>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment