SWORD25: Avoid including lua headers in other headers

This commit is contained in:
Max Horn 2011-05-23 17:43:58 +02:00
parent fa2c268d6a
commit 3931e1dc50
2 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,8 @@
#include <math.h>
#include "common/rect.h"
#include "sword25/kernel/common.h"
#include "sword25/util/lua/lua.h"
struct lua_State;
#if defined(MACOSX) || defined(SOLARIS) || defined(__MINGW32__)
#define sqrtf(x) ((float)sqrt(x))

View File

@ -36,7 +36,8 @@
#include "common/str-array.h"
#include "sword25/kernel/common.h"
#include "sword25/script/script.h"
#include "sword25/util/lua/lua.h"
struct lua_State;
namespace Sword25 {