From f0207f4f9e44aae2abf391d04bae025e9bae4094 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 3 Dec 1996 18:51:10 +0000 Subject: Include alloca.h when you have it. svn path=/trunk/; revision=596 --- configure.in | 2 +- driver.c | 3 +++ fetchmail.c | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 91dae06e..a3935000 100644 --- a/configure.in +++ b/configure.in @@ -23,7 +23,7 @@ AC_HEADER_STDC AC_TYPE_SIZE_T AC_TYPE_PID_T AC_TYPE_SIGNAL -AC_CHECK_HEADERS(unistd.h termios.h termio.h sgtty.h stdarg.h) +AC_CHECK_HEADERS(unistd.h termios.h termio.h sgtty.h stdarg.h alloca.h) AC_C_CONST dnl getopt needs this. diff --git a/driver.c b/driver.c index c28098b2..5f69bdcd 100644 --- a/driver.c +++ b/driver.c @@ -22,6 +22,9 @@ #else #include #endif +#if defined(HAVE_ALLOCA_H) +#include +#endif #include #include diff --git a/fetchmail.c b/fetchmail.c index eb09f12d..a1990add 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -14,6 +14,9 @@ #if defined(HAVE_UNISTD_H) #include #endif +#if defined(HAVE_ALLOCA_H) +#include +#endif #include #include #include -- cgit v1.2.3