diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/config.in b/src/config.in index 9d845027db4..16d788fd7a2 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -1164,15 +1164,19 @@ extern char *getenv (); | |||
| 1164 | #ifdef HAVE_STDLIB_H | 1164 | #ifdef HAVE_STDLIB_H |
| 1165 | #include <stdlib.h> | 1165 | #include <stdlib.h> |
| 1166 | #endif | 1166 | #endif |
| 1167 | #ifndef __GNUC__ | 1167 | #ifdef HAVE_ALLOCA_H |
| 1168 | # ifdef HAVE_ALLOCA_H | 1168 | # include <alloca.h> |
| 1169 | # include <alloca.h> | 1169 | #elif defined __GNUC__ |
| 1170 | # else /* AIX files deal with #pragma. */ | 1170 | # define alloca __builtin_alloca |
| 1171 | # ifndef alloca /* predefined by HP cc +Olibcalls */ | 1171 | #elif defined _AIX |
| 1172 | char *alloca (); | 1172 | # define alloca __alloca |
| 1173 | # endif | 1173 | #else |
| 1174 | # endif /* HAVE_ALLOCA_H */ | 1174 | # include <stddef.h> |
| 1175 | #endif /* __GNUC__ */ | 1175 | # ifdef __cplusplus |
| 1176 | extern "C" | ||
| 1177 | # endif | ||
| 1178 | void *alloca (size_t); | ||
| 1179 | #endif | ||
| 1176 | #ifndef HAVE_SIZE_T | 1180 | #ifndef HAVE_SIZE_T |
| 1177 | typedef unsigned size_t; | 1181 | typedef unsigned size_t; |
| 1178 | #endif | 1182 | #endif |