aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-12-19 20:52:15 +0000
committerDan Nicolaescu2008-12-19 20:52:15 +0000
commit53934c983b9d91ed8845b35f584e894bda7501c0 (patch)
tree83f985dbdbf6681d574816051866ffa5b1fc9e5e /src
parent06e111a6efbbe275e8f7c364ff8e5955d1ab75f0 (diff)
downloademacs-53934c983b9d91ed8845b35f584e894bda7501c0.tar.gz
emacs-53934c983b9d91ed8845b35f584e894bda7501c0.zip
Include alloca.h.
Diffstat (limited to 'src')
-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 @@
12008-12-19 Dan Nicolaescu <dann@ics.uci.edu> 12008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * sysdep.c: Include alloca.h.
4
52008-12-19 Dan Nicolaescu <dann@ics.uci.edu>
6
3 Reorganize implementation of Flist_system_processes and 7 Reorganize implementation of Flist_system_processes and
4 Fsystem_process_attributes. No functional changes. 8 Fsystem_process_attributes. No functional changes.
5 * process.c: Don't #include pwd.h, grp.h and limits.h. 9 * 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/>. */
35#ifdef HAVE_UNISTD_H 35#ifdef HAVE_UNISTD_H
36#include <unistd.h> 36#include <unistd.h>
37#endif 37#endif
38#ifdef HAVE_ALLOCA_H
39#include <alloca.h>
40#endif /* HAVE_ALLOCA_H */
41
38#include "lisp.h" 42#include "lisp.h"
39/* Including stdlib.h isn't necessarily enough to get srandom 43/* Including stdlib.h isn't necessarily enough to get srandom
40 declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */ 44 declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */