Skip to content

Commit

Permalink
SWORD25: Avoid including lua headers in other headers
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed May 23, 2011
1 parent fa2c268 commit 3931e1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion engines/sword25/math/vertex.h
Expand Up @@ -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))
Expand Down
3 changes: 2 additions & 1 deletion engines/sword25/script/luascript.h
Expand Up @@ -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 {

Expand Down

0 comments on commit 3931e1d

Please sign in to comment.