We need to include alloca.h on OpenSolaris.

This commit is contained in:
Tobias Brunner
2009-08-14 13:25:22 +02:00
parent 12a699c58d
commit 8b6a5ce5ba
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -844,6 +844,7 @@ dnl check required libraries and header files
dnl =========================================== dnl ===========================================
AC_HEADER_STDBOOL AC_HEADER_STDBOOL
AC_FUNC_ALLOCA
dnl libraries needed on some platforms but not on others dnl libraries needed on some platforms but not on others
dnl ==================================================== dnl ====================================================
+3
View File
@@ -26,6 +26,9 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
typedef struct chunk_t chunk_t; typedef struct chunk_t chunk_t;