blob: d2e6f1c681eebba9b016df23d2e2fb7a54f5942a [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#ifndef _ALLOCA_H
2#define _ALLOCA_H
3
Rich Felker3ed8c9f2011-11-10 20:40:06 -05004#ifdef __cplusplus
5extern "C" {
6#endif
7
Rich Felker0b44a032011-02-12 00:22:29 -05008#define __NEED_size_t
9#include <bits/alltypes.h>
10
11void *alloca(size_t);
12
Rich Felkerd71d0802012-04-09 15:06:58 -040013#ifdef __GNUC__
14#define alloca __builtin_alloca
15#endif
16
Rich Felker3ed8c9f2011-11-10 20:40:06 -050017#ifdef __cplusplus
18}
19#endif
20
Rich Felker0b44a032011-02-12 00:22:29 -050021#endif