oksh-noxz

[fork] Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
git clone https://noxz.tech/git/oksh-noxz.git
oksh-noxz

commit: 06c39c629bef333866034b8275f41d4aa9c65aba
parent: 84788d1ad948dd9ba563ab914034abc440663db8
author: Brian Callahan <bcallah@openbsd.org>
date:   Sat, 27 Jan 2018 00:03:14 -0500
Fix Android (Termux) build
Mportable.h7+++++++
1 file changed, 7 insertions(+)
diff --git a/portable.h b/portable.h
@@ -98,6 +98,13 @@
 #undef sys_signame
 #endif /* __CYGWIN__ */
 
+/* Android is missing _CS_PATH */
+#if defined(__linux__) && defined(__ANDROID__)
+#ifndef _CS_PATH
+#define _CS_PATH 1
+#endif
+#endif
+
 /* From OpenBSD sys/time.h */
 #ifndef __OpenBSD__
 #define timespeccmp(tsp, usp, cmp)                                      \