X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7c82f3e23e37cc848a38b1f8be7149fd672a6393..25a48bd06bd5979d201cddde99e2dec1eb54c184:/src/sysdep.c
diff --git a/src/sysdep.c b/src/sysdep.c
index 972f3c9acc..53b7f39171 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1,6 +1,5 @@
/* Interfaces to system-dependent kernel and library entries.
- Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Copyright (C) 1985-1988, 1993-1995, 1999-2011
Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -32,6 +31,8 @@ along with GNU Emacs. If not, see . */
#endif /* HAVE_LIMITS_H */
#include
+#include
+
#include "lisp.h"
#include "sysselect.h"
#include "blockinput.h"
@@ -264,7 +265,7 @@ void
init_baud_rate (int fd)
{
int emacs_ospeed;
-
+
if (noninteractive)
emacs_ospeed = 0;
else
@@ -579,7 +580,7 @@ sys_subshell (void)
write (1, "Can't execute subshell", 22);
#else /* not WINDOWSNT */
execlp (sh, sh, (char *) 0);
- write (1, "Can't execute subshell", 22);
+ ignore_value (write (1, "Can't execute subshell", 22));
_exit (1);
#endif /* not WINDOWSNT */
#endif /* not MSDOS */
@@ -3059,4 +3060,3 @@ system_process_attributes (Lisp_Object pid)
}
#endif /* !defined (WINDOWSNT) */
-