(toplevel) [HAVE_UNISTD_H]: Include unistd.h.
authorGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 00:34:36 +0000 (00:34 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 20 Sep 1999 00:34:36 +0000 (00:34 +0000)
(Fcall_process): Remove unused variable.

src/callproc.c

index fec6c53..de6856b 100644 (file)
@@ -36,6 +36,10 @@ extern char *strerror ();
 
 #include <sys/types.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include <sys/file.h>
 #ifdef USG5
 #define INCLUDED_FCNTL
@@ -394,7 +398,6 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
              int size = encoding_buffer_size (&argument_coding,
                                               STRING_BYTES (XSTRING (args[i])));
              unsigned char *dummy1 = (unsigned char *) alloca (size);
-             int dummy;
 
              /* The Irix 4.0 compiler barfs if we eliminate dummy.  */
              new_argv[i - 3] = dummy1;