efreet: add missing file

SVN revision: 79632
This commit is contained in:
Sebastian Dransfeld 2012-11-24 10:55:45 +00:00
parent 92b5baaea4
commit 07ee75ee5b
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#ifndef EFREET_ALLOCA_H
#define EFREET_ALLOCA_H
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif !defined alloca
# ifdef __GNUC__
# define alloca __builtin_alloca
# elif defined _AIX
# define alloca __alloca
# elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
# elif !defined HAVE_ALLOCA
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
# endif
#endif
#endif