From 6c362a8bb2ddd97b0666b0c5849b6c17617b4d86 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 12 Aug 1993 22:05:30 +0000 Subject: [PATCH] Include process.h. (init_cmdargs): Use EXEC_SUFFIXES. --- src/emacs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ #include "systty.h" #include "syssignal.h" +#include "process.h" #ifndef O_RDWR #define O_RDWR 2 @@ -169,7 +170,7 @@ init_cmdargs (argc, argv, skip_args) { Lisp_Object found; int yes = openp (Vexec_path, Vinvocation_name, - "", &found, 1); + EXEC_SUFFIXES, &found, 1); if (yes) Vinvocation_directory = Ffile_name_directory (found); } -- 2.39.5