aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-data-cache.c3
2 files changed, 8 insertions, 0 deletions
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 <toshok@ximian.com>
+
+ * 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 <cyba@gnome.pl>
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 <dirent.h>
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include "camel-data-cache.h"
#include "camel-exception.h"