summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elua/elua_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index 9f62c5ff4b..35c4f85641 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -28,6 +28,11 @@
28#include <lualib.h> 28#include <lualib.h>
29#include <lauxlib.h> 29#include <lauxlib.h>
30 30
31// FIX for luajit 2.1.0-beta3: see https://phab.enlightenment.org/T2728
32#ifndef luaL_reg
33# define luaL_reg luaL_Reg
34#endif
35
31#include "Elua.h" 36#include "Elua.h"
32 37
33struct _Elua_State 38struct _Elua_State