]> git.sur5r.net Git - openldap/blob - ac/alloca.h
Do not require ac/string.h for lber_pvt.h
[openldap] / ac / alloca.h
1 /* Generic alloca.h */
2
3 #ifndef _AC_ALLOCA_H
4 #define _AC_ALLOCA_H
5
6 /* AIX requires this to be the first thing in the file.  */
7 #ifdef __GNUC__
8 # define alloca __builtin_alloca
9 #else
10 # if HAVE_ALLOCA_H
11 #  include <alloca.h>
12 # else
13 #  ifdef _AIX
14 #pragma alloca
15 #  else
16 #   ifndef alloca /* predefined by HP cc +Olibcalls */
17 char *alloca ();
18 #   endif
19 #  endif
20 # endif
21 #endif
22
23
24 #endif /* _AC_ALLOCA_H */