mirror of
https://github.com/lammertb/libhttp.git
synced 2025-09-01 14:21:56 +03:00
Fix compile error with GCC
This commit is contained in:
@@ -548,6 +548,7 @@ static void set_absolute_path(char *options[], const char *option_name,
|
||||
#ifdef USE_LUA
|
||||
#define main luatest_main
|
||||
#define luaL_openlibs lua_civet_openlibs
|
||||
struct lua_State;
|
||||
extern void lua_civet_openlibs(struct lua_State *L);
|
||||
#include "../src/third_party/lua-5.2.3/src/lua.c"
|
||||
#undef main
|
||||
|
Reference in New Issue
Block a user