]> git.eshelyaron.com Git - emacs.git/commitdiff
Include process.h.
authorRichard M. Stallman <rms@gnu.org>
Thu, 12 Aug 1993 22:05:30 +0000 (22:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 12 Aug 1993 22:05:30 +0000 (22:05 +0000)
(init_cmdargs): Use EXEC_SUFFIXES.

src/emacs.c

index 321edbe15e549ca5a875ba2947affed4e1b15038..ca03da1608ab4656b2109608320d528c8317bbcd 100644 (file)
@@ -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);
     }