changeset 100566:91f7b663a0fd

Include alloca.h.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 19 Dec 2008 20:52:15 +0000
parents dcc7f5970d5c
children 387ca5b2d869
files src/ChangeLog src/sysdep.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 19 19:50:35 2008 +0000
+++ b/src/ChangeLog	Fri Dec 19 20:52:15 2008 +0000
@@ -1,3 +1,7 @@
+2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* sysdep.c: Include alloca.h.
+
 2008-12-19  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	Reorganize implementation of Flist_system_processes and
--- a/src/sysdep.c	Fri Dec 19 19:50:35 2008 +0000
+++ b/src/sysdep.c	Fri Dec 19 20:52:15 2008 +0000
@@ -35,6 +35,10 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif /* HAVE_ALLOCA_H */
+
 #include "lisp.h"
 /* Including stdlib.h isn't necessarily enough to get srandom
    declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2.  */