mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-8973 Build failure on missing alloca.h
in *BSD family alloca() is in stdlib.h
This commit is contained in:
parent
0c5f36d579
commit
3228ad33f0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue