summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-06-15 17:33:33 (GMT)
committer Simon <simon@hardwired.org.uk>2011-06-15 17:33:33 (GMT)
commitcf35ccb8fd62096d8504e6fda23b13b454eec4b0 (patch)
tree945f41d1cc2fc98eee40200fdba25330390c4787
parentc1f4f0481c030e86aa20024823cfd47a2369d646 (diff)
downloadpowder-cf35ccb8fd62096d8504e6fda23b13b454eec4b0.zip
powder-cf35ccb8fd62096d8504e6fda23b13b454eec4b0.tar.gz
Include dir change for OS X
-rw-r--r--includes/luaconsole.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h
index 723737d..fa8fe1b 100644
--- a/includes/luaconsole.h
+++ b/includes/luaconsole.h
@@ -1,8 +1,14 @@
#ifndef LUACONSOLEH
#define LUACONSOLEH
+#ifdef LUA_R_INCL
+#include <lua.h>
+#include <lauxlib.h>
+#include <lualib.h>
+#else
#include <lua5.1/lua.h>
#include <lua5.1/lauxlib.h>
#include <lua5.1/lualib.h>
+#endif
#include <defines.h>
void luacon_open();