From 48c8eb835eb1f7a54552d1dc00bd77fee54c4edd Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Sat, 30 May 2020 06:44:29 +0200 Subject: [PATCH] elua: use cffi-lua public header --- src/lib/elua/elua.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c index 250025e970..b691ff524d 100644 --- a/src/lib/elua/elua.c +++ b/src/lib/elua/elua.c @@ -2,6 +2,10 @@ #include #include "elua_private.h" +#ifdef ENABLE_LUA_OLD +# include +#endif + static Eina_Prefix *_elua_pfx = NULL; static int _elua_init_counter = 0; @@ -66,10 +70,6 @@ elua_shutdown(void) return _elua_init_counter; } -#ifdef ENABLE_LUA_OLD -int luaopen_cffi(lua_State *L); -#endif - EAPI Elua_State * elua_state_new(const char *progname) {