diff --git a/aegisub/configure.in b/aegisub/configure.in index a5068b3d8..46607af43 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -804,8 +804,9 @@ aegisub_save_LIBS="$LIBS" LIBS="$LUA_LDFLAGS" if test "$with_lua" != no; then AC_AGI_COMPILE([Lua 5.1 (auto4)], [lua], [$LUA_CFLAGS], [],[ +#include + extern "C" { -#include #include }