]> granicus.if.org Git - apache/commitdiff
lua header update part 1: EDOESNOTBUILD.
authorRainer Jung <rjung@apache.org>
Mon, 6 May 2013 23:23:43 +0000 (23:23 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 6 May 2013 23:23:43 +0000 (23:23 +0000)
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

index b7d6306649e8a05646422679de40a563afd4e917..81f940228dbe69ca23c03b3d64636ee8b6a2b37e 100644 (file)
@@ -15,9 +15,6 @@
  * limitations under the License.
  */
 
-#include <lua.h>
-
-
 #include <apr_pools.h>
 #include <apr_thread_mutex.h>
 
@@ -29,6 +26,8 @@
 #include "util_md5.h"
 #include "util_varbuf.h"
 
+#include <lua.h>
+
 extern apr_thread_mutex_t* lua_ivm_mutex;
 
 APLOG_USE_MODULE(lua);