vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 76261a453c4525950b748bd4b26be285e920fe34
parent 3d5f154f63ad1a15c4bdb88c0d972ab10533b01e
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat, 13 May 2017 10:39:07 +0200

build: fix warning in lua related configure check

luaL_openlibs is actually declared in lualib.h.

Diffstat:
Mconfigure | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure b/configure @@ -435,6 +435,7 @@ if test "$lua" != "no" ; then cat > "$tmpc" <<EOF #include <lua.h> +#include <lualib.h> #include <lauxlib.h> #if LUA_VERSION_NUM < 502 @@ -493,6 +494,7 @@ if test $CONFIG_LUA -eq 1 -a "$lpeg" != "no" ; then cat > "$tmpc" <<EOF #include <lua.h> +#include <lualib.h> #include <lauxlib.h> int main(int argc, char *argv[]) {