From 01fd08d5b9a3fba0975bbe3c0eec83c9e5ea684f Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Sun, 30 Aug 2009 06:43:04 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@214819 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_lua.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pbx') diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index ebca7eb89..1d3276070 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 #include #include +#else +#include +#include +#include +#endif static char *config = "extensions.lua"; static char *registrar = "pbx_lua"; -- cgit v1.2.3