aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-12 22:05:30 +0000
committerRichard M. Stallman1993-08-12 22:05:30 +0000
commit6c362a8bb2ddd97b0666b0c5849b6c17617b4d86 (patch)
tree9a9da48985ecbc87eb7b8ff78a50c67a7b2fea13 /src
parentb7a11e21015676b8eacf6a531c2e76d274c293ea (diff)
downloademacs-6c362a8bb2ddd97b0666b0c5849b6c17617b4d86.tar.gz
emacs-6c362a8bb2ddd97b0666b0c5849b6c17617b4d86.zip
Include process.h.
(init_cmdargs): Use EXEC_SUFFIXES.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 321edbe15e5..ca03da1608a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -47,6 +47,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
47 47
48#include "systty.h" 48#include "systty.h"
49#include "syssignal.h" 49#include "syssignal.h"
50#include "process.h"
50 51
51#ifndef O_RDWR 52#ifndef O_RDWR
52#define O_RDWR 2 53#define O_RDWR 2
@@ -169,7 +170,7 @@ init_cmdargs (argc, argv, skip_args)
169 { 170 {
170 Lisp_Object found; 171 Lisp_Object found;
171 int yes = openp (Vexec_path, Vinvocation_name, 172 int yes = openp (Vexec_path, Vinvocation_name,
172 "", &found, 1); 173 EXEC_SUFFIXES, &found, 1);
173 if (yes) 174 if (yes)
174 Vinvocation_directory = Ffile_name_directory (found); 175 Vinvocation_directory = Ffile_name_directory (found);
175 } 176 }