aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/include-lua53.patch
blob: 859077598150a47d6cd8b5c4e7784c75fbda2fb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff --git a/src/mod/languages/mod_lua/mod_lua.cpp b/src/mod/languages/mod_lua/mod_lua.cpp
index 63aaf25..1b37b77 100644
--- a/src/mod/languages/mod_lua/mod_lua.cpp
+++ b/src/mod/languages/mod_lua/mod_lua.cpp
@@ -34,9 +34,9 @@
 #include <switch.h>
 #include <switch_event.h>
 SWITCH_BEGIN_EXTERN_C
-#include "lua.h"
-#include <lauxlib.h>
-#include <lualib.h>
+#include "lua5.3/lua.h"
+#include <lua5.3/lauxlib.h>
+#include <lua5.3/lualib.h>
 #include "mod_lua_extra.h"
 SWITCH_MODULE_LOAD_FUNCTION(mod_lua_load);
 SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_lua_shutdown);
diff --git a/src/mod/languages/mod_lua/freeswitch_lua.h b/src/mod/languages/mod_lua/freeswitch_lua.h
index d205f6b..f34bd84 100644
--- a/src/mod/languages/mod_lua/freeswitch_lua.h
+++ b/src/mod/languages/mod_lua/freeswitch_lua.h
@@ -2,9 +2,9 @@
 #define FREESWITCH_LUA_H
 
 extern "C" {
-#include "lua.h"
-#include <lauxlib.h>
-#include <lualib.h>
+#include "lua5.3/lua.h"
+#include <lua5.3/lauxlib.h>
+#include <lua5.3/lualib.h>
 #include "mod_lua_extra.h"
 }
 #include <switch_cpp.h>
diff --git a/libs/esl/lua/esl_wrap.cpp b/libs/esl/lua/esl_wrap.cpp
index d89b83e..261eb97 100644
--- a/libs/esl/lua/esl_wrap.cpp
+++ b/libs/esl/lua/esl_wrap.cpp
@@ -730,8 +730,8 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
 extern "C" {
 #endif
 
-#include "lua.h"
-#include "lauxlib.h"
+#include "lua5.3/lua.h"
+#include "lua5.3/lauxlib.h"
 #include <stdlib.h>  /* for malloc */
 #include <assert.h>  /* for a few sanity tests */