summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 09:11:56 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 09:11:56 +0100
commitec61aa30251974118b6a19438ca5bffc616eb10e (patch)
treefe7a3d8c511cc0864b06e69961c94c086e1e9453 /compat.h
parent5c888e168eef6b711b968fb16d502d4c9b25b1c2 (diff)
Solaris at least does not have _PATH_VI.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
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