aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-17 12:24:56 +0800
committerDan Winship <danw@src.gnome.org>2000-02-17 12:24:56 +0800
commit514b2de963c04ce463ff84a54933673be284ad45 (patch)
tree3421530c3cb25efd61d737967c318b186240efb9
parenta646fdac36621c4450e00ad2121e4ac7a7d3993a (diff)
downloadgsoc2013-evolution-514b2de963c04ce463ff84a54933673be284ad45.tar.gz
gsoc2013-evolution-514b2de963c04ce463ff84a54933673be284ad45.tar.zst
gsoc2013-evolution-514b2de963c04ce463ff84a54933673be284ad45.zip
make <alloca.h> inclusion conditional on HAVE_ALLOCA_H
svn path=/trunk/; revision=1820
-rw-r--r--widgets/e-table/e-table.c2
-rw-r--r--widgets/table/e-table.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index efda8931d2..46531113e4 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -10,7 +10,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <stdio.h>
#include <libgnomeui/gnome-canvas.h>
#include <gtk/gtksignal.h>
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index efda8931d2..46531113e4 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -10,7 +10,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <stdio.h>
#include <libgnomeui/gnome-canvas.h>
#include <gtk/gtksignal.h>