summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-12-19 20:52:15 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-12-19 20:52:15 +0000
commit53934c983b9d91ed8845b35f584e894bda7501c0 (patch)
tree83f985dbdbf6681d574816051866ffa5b1fc9e5e
parent06e111a6efbbe275e8f7c364ff8e5955d1ab75f0 (diff)
downloademacs-53934c983b9d91ed8845b35f584e894bda7501c0.tar.gz
Include alloca.h.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/sysdep.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4bc6d54c1a0..5ed15b4e59a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
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
Fsystem_process_attributes. No functional changes.
* process.c: Don't #include pwd.h, grp.h and limits.h.
diff --git a/src/sysdep.c b/src/sysdep.c
index 7f53ea2f788..4b3ca59691e 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -35,6 +35,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#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. */