print luaconf.h into the output

This commit is contained in:
takase1121 2021-11-06 20:24:40 +08:00
parent 3982a8b31c
commit ac50404337
No known key found for this signature in database
GPG Key ID: 60EEFFC68EB3031B
1 changed files with 3 additions and 1 deletions

View File

@ -90,8 +90,10 @@ generate_header() {
echo
print_self
echo
echo "#include <stddef.h>"
echo "#include <stdarg.h>"
echo "#include <stdio.h> // for BUFSIZ? this is kinda weird"
cat "$LUA_PATH/luaconf.h"
decl "$LUA_PATH/lua.h"
decl "$LUA_PATH/lauxlib.h"