summaryrefslogtreecommitdiff
path: root/accel-pppd/lua/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/lua/session.c')
-rw-r--r--accel-pppd/lua/session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/lua/session.c b/accel-pppd/lua/session.c
index 131f02f5..a6ce2b08 100644
--- a/accel-pppd/lua/session.c
+++ b/accel-pppd/lua/session.c
@@ -12,6 +12,8 @@
#include "utils.h"
#include "luasupp.h"
+#include "log.h"
+
static int mod_cnt;
static const struct lua_session_module **mods;
@@ -268,7 +270,7 @@ static int session_module(lua_State *L)
void __export lua_session_module_register(const struct lua_session_module *mod)
{
- char *mods_new;
+ void *mods_new;
if (!mods)
mods_new = malloc(sizeof(void *));
else