From 9499b17d180daaf373aa7f8a8cb18ecbb38cc320 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 3 Jan 2007 19:16:29 +0000 Subject: [PATCH] More fixes for non-win32 building Originally committed to SVN as r695. --- aegisub/auto4_lua.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/auto4_lua.cpp b/aegisub/auto4_lua.cpp index 1605aee8f..e7092d9a4 100644 --- a/aegisub/auto4_lua.cpp +++ b/aegisub/auto4_lua.cpp @@ -39,8 +39,8 @@ #include "ass_file.h" #include "ass_override.h" #include "text_file_reader.h" -#include -#include +#include "../lua51/src/lualib.h" +#include "../lua51/src/lauxlib.h" #include #include #include @@ -105,7 +105,7 @@ namespace Automation4 { #ifdef WIN32 f = _tfopen(filename.c_str(), _T("rb")); #else - f = fopen(filename.c_str(), _T("rb")); + f = fopen(filename.fn_str(), "rb"); #endif first = true; databuf = new char[bufsize];