diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-06-29 16:19:29 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-06-29 16:19:29 +0000 |
commit | 71b3fd1ef76db430faddc3442c3db80b0d5b5ef5 (patch) | |
tree | 6c2d79efb3af9b3b26ee1680c365bf63b9cbe150 /pbx/pbx_lua.c | |
parent | a61f8794e398adc2082ca48f79b2143170d23265 (diff) |
various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode:
remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c
add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works
make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r-- | pbx/pbx_lua.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index 6302ac655..704d811de 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -41,9 +41,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/term.h" #include "asterisk/paths.h" -#include <lua.h> -#include <lauxlib.h> -#include <lualib.h> +#include <lua5.1/lua.h> +#include <lua5.1/lauxlib.h> +#include <lua5.1/lualib.h> static char *config = "extensions.lua"; |