From: Rainer Jung Date: Mon, 6 May 2013 23:23:43 +0000 (+0000) Subject: lua header update part 1: EDOESNOTBUILD. X-Git-Tag: 2.5.0-alpha~5494 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10423926d05e3e2cf3310d2f743ea18f15a5395a;p=apache lua header update part 1: EDOESNOTBUILD. First include mod_lua which sets LUA_COMPAT_ALL, then lua.h which uses it. Needed at least to build with lua 5.2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1479718 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index b7d6306649..81f940228d 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -15,9 +15,6 @@ * limitations under the License. */ -#include - - #include #include @@ -29,6 +26,8 @@ #include "util_md5.h" #include "util_varbuf.h" +#include + extern apr_thread_mutex_t* lua_ivm_mutex; APLOG_USE_MODULE(lua);