aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/luatablegen
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/luatablegen')
-rw-r--r--bruiser/luatablegen/W_Import_Section_tablegen.c2
-rw-r--r--bruiser/luatablegen/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/bruiser/luatablegen/W_Import_Section_tablegen.c b/bruiser/luatablegen/W_Import_Section_tablegen.c
index 5286c75..b56c81b 100644
--- a/bruiser/luatablegen/W_Import_Section_tablegen.c
+++ b/bruiser/luatablegen/W_Import_Section_tablegen.c
@@ -41,7 +41,7 @@ int W_Import_Section_push_args(lua_State* __ls, W_Import_Section* _st) {
int new_W_Import_Section(lua_State* __ls) {
lua_checkstack(__ls, 2);
varuint32 count = luaL_optinteger(__ls,-2,0);
- W_Import_Section** entries = lua_touserdata(__ls,-1);
+ W_Import_Section_Entry** entries = lua_touserdata(__ls,-1);
W_Import_Section* dummy = push_W_Import_Section(__ls);
dummy->count = count;
dummy->entries = entries;
diff --git a/bruiser/luatablegen/makefile b/bruiser/luatablegen/makefile
index 937902b..a4ecdaf 100644
--- a/bruiser/luatablegen/makefile
+++ b/bruiser/luatablegen/makefile
@@ -1,6 +1,6 @@
CC=clang
CC?=clang
-CC_FLAGS=
+CC_FLAGS=$(shell $(PY_CONF) --includes)
CC_EXTRA?=
CC_FLAGS+=$(CC_EXTRA)
SRCS=$(wildcard *.c)