--- src/scripting/lua/Makefile.orig	2021-12-24 19:53:43 UTC
+++ src/scripting/lua/Makefile
@@ -1,7 +1,7 @@
 top_builddir=../../..
 include $(top_builddir)/Makefile.config
 
-INCLUDES += $(LUA_CFLAGS)
+INCLUDES += $(LUA_CFLAGS) $(CPPFLAGS)
 
 OBJS = lua.o hooks.o core.o
 
