aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-20 00:34:36 +0000
committerGerd Moellmann1999-09-20 00:34:36 +0000
commit3cbd6585e0bf96dffdeb220e3f855076df5312ac (patch)
tree1e88db02c30dacf257e5cba9dd2244ffa8085b9c /src
parent11017f88a3395b617f5181637c33c3c712b74603 (diff)
downloademacs-3cbd6585e0bf96dffdeb220e3f855076df5312ac.tar.gz
emacs-3cbd6585e0bf96dffdeb220e3f855076df5312ac.zip
(toplevel) [HAVE_UNISTD_H]: Include unistd.h.
(Fcall_process): Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index fec6c53733e..de6856b5068 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -36,6 +36,10 @@ extern char *strerror ();
36 36
37#include <sys/types.h> 37#include <sys/types.h>
38 38
39#ifdef HAVE_UNISTD_H
40#include <unistd.h>
41#endif
42
39#include <sys/file.h> 43#include <sys/file.h>
40#ifdef USG5 44#ifdef USG5
41#define INCLUDED_FCNTL 45#define INCLUDED_FCNTL
@@ -394,7 +398,6 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
394 int size = encoding_buffer_size (&argument_coding, 398 int size = encoding_buffer_size (&argument_coding,
395 STRING_BYTES (XSTRING (args[i]))); 399 STRING_BYTES (XSTRING (args[i])));
396 unsigned char *dummy1 = (unsigned char *) alloca (size); 400 unsigned char *dummy1 = (unsigned char *) alloca (size);
397 int dummy;
398 401
399 /* The Irix 4.0 compiler barfs if we eliminate dummy. */ 402 /* The Irix 4.0 compiler barfs if we eliminate dummy. */
400 new_argv[i - 3] = dummy1; 403 new_argv[i - 3] = dummy1;