Permalink
Browse files

Fixing lua5.2 header includes

  • Loading branch information...
1 parent c35f850 commit e22659d5fb3ffad93bd28c8eb23ce9b575d69977 Jonas Thiem committed May 8, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −1 src/luaheader.h
  2. +0 −2 src/luastate.c
View
@@ -26,9 +26,13 @@
#define LUAHEADER_H_
#ifdef LUA_5_2_HEADER
-#include "lua5.2.h"
+#include "lua5.2/lua.h"
+#include "lua5.2/lauxlib.h"
+#include "lua5.2/lualib.h"
#else
#include "lua.h"
+#include "lauxlib.h"
+#include "lualib.h"
#endif
#endif //ifndef LUAHEADER_H_
View
@@ -22,8 +22,6 @@
*/
#include "luaheader.h"
-#include "lauxlib.h"
-#include "lualib.h"
#include "luastate.h"
#include "luafuncs.h"
#include "luafuncs_physics.h"

0 comments on commit e22659d

Please sign in to comment.