diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-03 18:51:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-03 18:51:10 +0000 |
commit | f0207f4f9e44aae2abf391d04bae025e9bae4094 (patch) | |
tree | 5f07ee615437f9c52a005d08b7b5399d2b158c2e | |
parent | c37e99fbb51fc1daac738d3eaf67e7b4dc311b6f (diff) | |
download | fetchmail-f0207f4f9e44aae2abf391d04bae025e9bae4094.tar.gz fetchmail-f0207f4f9e44aae2abf391d04bae025e9bae4094.tar.bz2 fetchmail-f0207f4f9e44aae2abf391d04bae025e9bae4094.zip |
Include alloca.h when you have it.
svn path=/trunk/; revision=596
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | driver.c | 3 | ||||
-rw-r--r-- | fetchmail.c | 3 |
3 files changed, 7 insertions, 1 deletions
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. @@ -22,6 +22,9 @@ #else #include <varargs.h> #endif +#if defined(HAVE_ALLOCA_H) +#include <alloca.h> +#endif #include <sys/time.h> #include <signal.h> 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 <unistd.h> #endif +#if defined(HAVE_ALLOCA_H) +#include <alloca.h> +#endif #include <string.h> #include <signal.h> #include <pwd.h> |