mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
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
This commit is contained in:
@@ -15,9 +15,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <lua.h>
|
|
||||||
|
|
||||||
|
|
||||||
#include <apr_pools.h>
|
#include <apr_pools.h>
|
||||||
#include <apr_thread_mutex.h>
|
#include <apr_thread_mutex.h>
|
||||||
|
|
||||||
@@ -29,6 +26,8 @@
|
|||||||
#include "util_md5.h"
|
#include "util_md5.h"
|
||||||
#include "util_varbuf.h"
|
#include "util_varbuf.h"
|
||||||
|
|
||||||
|
#include <lua.h>
|
||||||
|
|
||||||
extern apr_thread_mutex_t* lua_ivm_mutex;
|
extern apr_thread_mutex_t* lua_ivm_mutex;
|
||||||
|
|
||||||
APLOG_USE_MODULE(lua);
|
APLOG_USE_MODULE(lua);
|
||||||
|
Reference in New Issue
Block a user