aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-cache.c
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 /camel/camel-data-cache.c
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
Diffstat (limited to 'camel/camel-data-cache.c')
-rw-r--r--camel/camel-data-cache.c3
1 files changed, 3 insertions, 0 deletions
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"