aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-12-14 11:02:55 +0800
committerChris Toshok <toshok@src.gnome.org>2001-12-14 11:02:55 +0800
commit4d9df464b9c074705e26954106178fe95118ca5f (patch)
treeb4946cce3a0adc39dd9910e14d4bba4a05d5d802
parentf6c13cdb84976db634182f4f32606ce638f66074 (diff)
downloadgsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar.gz
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar.bz2
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar.lz
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar.xz
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.tar.zst
gsoc2013-evolution-4d9df464b9c074705e26954106178fe95118ca5f.zip
include stdlib.h (for alloca on freebsd) and only include alloca.h if
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. svn path=/trunk/; revision=15033
-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"