commit: 6602ea32f473a773a9da8583a946deb5b66a3dc5
parent 51a66da074dadce09b6632900e6cfe219914c0ac
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 5 Apr 2020 16:56:47 -0700
oksh: Add missing pconfig.h
Diffstat:
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/pkg/oksh/gen.lua b/pkg/oksh/gen.lua
@@ -3,6 +3,7 @@ cflags{
'-D EMACS',
'-D SMALL',
'-D VI',
+ '-I $dir',
}
exe('ksh', [[
diff --git a/pkg/oksh/pconfig.h b/pkg/oksh/pconfig.h
@@ -0,0 +1,11 @@
+#define __dead _Noreturn
+#define HAVE_ASPRINTF
+#define HAVE_CONFSTR
+#define HAVE_SETRESGID
+#define HAVE_SETRESUID
+#define HAVE_SIG_T
+#define HAVE_ST_MTIM
+#define HAVE_STRLCAT
+#define HAVE_STRLCPY
+#define HAVE_TIMERADD
+#define HAVE_TIMERSUB