From 10423926d05e3e2cf3310d2f743ea18f15a5395a Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Mon, 6 May 2013 23:23:43 +0000 Subject: [PATCH] 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 --- modules/lua/lua_request.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.50.1