From 64c26969b7fe322c2f2f0b9131ca1387d20d0d9d Mon Sep 17 00:00:00 2001 From: Patman64 Date: Sat, 2 Aug 2014 02:31:19 -0400 Subject: [PATCH] Move some unused includes. --- LuaEngine.cpp | 6 ++++++ LuaEngine.h | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/LuaEngine.cpp b/LuaEngine.cpp index dc1bd5c..59ed1e8 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -22,6 +22,12 @@ #include #endif +extern "C" +{ +#include "lualib.h" +#include "lauxlib.h" +}; + Eluna::ScriptList Eluna::lua_scripts; Eluna::ScriptList Eluna::lua_extensions; std::string Eluna::lua_folderpath; diff --git a/LuaEngine.h b/LuaEngine.h index 6649e49..82a2efb 100644 --- a/LuaEngine.h +++ b/LuaEngine.h @@ -23,8 +23,6 @@ extern "C" { #include "lua.h" -#include "lualib.h" -#include "lauxlib.h" }; #ifdef TRINITY