diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-30 06:44:57 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-30 06:44:57 +0000 |
commit | 836fd721e28ac608690b56d9cc18dad7cf3ddbc5 (patch) | |
tree | 61c606c0a59aeb8e9a92cfa0b6dc5b378a4c8164 /pbx/pbx_lua.c | |
parent | 155861d87229dd22044538416d0be9c156c319a1 (diff) |
Merged revisions 214819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r214819 | tilghman | 2009-08-30 01:43:04 -0500 (Sun, 30 Aug 2009) | 4 lines
If lua is detected with the lua5.1 prefix (or not), adjust the include path accordingly.
Based upon feedback to a release announcement on the -users list. See
http://lists.digium.com/pipermail/asterisk-users/2009-August/236954.html
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@214820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r-- | pbx/pbx_lua.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index 6a600a4ae..e9ea0b5a5 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -42,9 +42,15 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/paths.h" #include "asterisk/hashtab.h" +#ifdef LUA51_PREFIX #include <lua5.1/lua.h> #include <lua5.1/lauxlib.h> #include <lua5.1/lualib.h> +#else +#include <lua.h> +#include <lauxlib.h> +#include <lualib.h> +#endif static char *config = "extensions.lua"; static char *registrar = "pbx_lua"; |