From 78cb8f53ffd0ec757495988f5e53c6cec10f438f Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Fri, 14 Mar 2008 06:17:32 +0000 Subject: [PATCH] Applied shurik's patch to hopefully fix Lua's linking issues on Linux. Originally committed to SVN as r2054. --- aegisub/auto4_lua.h | 3 +-- aegisub/auto4_lua_scriptreader.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/auto4_lua.h b/aegisub/auto4_lua.h index 81b2b7b4b..72c90d09b 100644 --- a/aegisub/auto4_lua.h +++ b/aegisub/auto4_lua.h @@ -46,8 +46,7 @@ #include "../lua51/src/lua.h" #include "../lua51/src/lauxlib.h" #else -#include "lua.h" -#include "lauxlib.h" +#include "lua.hpp" #endif class wxWindow; diff --git a/aegisub/auto4_lua_scriptreader.h b/aegisub/auto4_lua_scriptreader.h index f798e1e19..fbb0c0382 100644 --- a/aegisub/auto4_lua_scriptreader.h +++ b/aegisub/auto4_lua_scriptreader.h @@ -39,7 +39,7 @@ #ifdef __WINDOWS__ #include "../lua51/src/lua.h" #else -#include "lua.h" +#include "lua.hpp" #endif namespace Automation4 { @@ -58,3 +58,4 @@ namespace Automation4 { }; +