From 4d9df464b9c074705e26954106178fe95118ca5f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 14 Dec 2001 03:02:55 +0000 Subject: include stdlib.h (for alloca on freebsd) and only include alloca.h if 2001-12-13 Chris Toshok * camel-data-cache.c: include stdlib.h (for alloca on freebsd) and only include alloca.h if HAVE_ALLOCA_H is defined. svn path=/trunk/; revision=15033 --- camel/ChangeLog | 5 +++++ camel/camel-data-cache.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/camel/ChangeLog b/camel/ChangeLog index 1891fc726c..0e4da1dc13 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-12-13 Chris Toshok + + * camel-data-cache.c: include stdlib.h (for alloca on freebsd) and + only include alloca.h if HAVE_ALLOCA_H is defined. + 2001-12-11 Zbigniew Chyla Fixes #17085 diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c index 93db52cca7..5fa7a40de4 100644 --- a/camel/camel-data-cache.c +++ b/camel/camel-data-cache.c @@ -28,7 +28,10 @@ #include #include #include +#include +#ifdef HAVE_ALLOCA_H #include +#endif #include "camel-data-cache.h" #include "camel-exception.h" -- cgit v1.2.3