Commit 3228ad33 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-8973 Build failure on missing alloca.h

in *BSD family alloca() is in stdlib.h
parent 0c5f36d5
......@@ -34,6 +34,8 @@ extern "C" {
#ifndef __cplusplus
#define inline __inline
#endif
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <stdlib.h>
#else
#include <alloca.h>
#endif
......
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