From ec61aa30251974118b6a19438ca5bffc616eb10e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 1 May 2020 09:11:56 +0100 Subject: Solaris at least does not have _PATH_VI. --- compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compat.h b/compat.h index b7ec5a69..736a14fc 100644 --- a/compat.h +++ b/compat.h @@ -90,6 +90,10 @@ void warnx(const char *, ...); #define _PATH_DEFPATH "/usr/bin:/bin" #endif +#ifndef _PATH_VI +#define _PATH_VI "/usr/bin/vi" +#endif + #ifndef __OpenBSD__ #define pledge(s, p) (0) #endif -- cgit