diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-29 16:19:29 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-29 16:19:29 +0000 |
commit | 902b5c3e00dae20a34c59a6b18fcbc0fa9ab80ef (patch) | |
tree | 6c2d79efb3af9b3b26ee1680c365bf63b9cbe150 /pbx/pbx_lua.c | |
parent | 8530e0fda8b91f4bb7c5b95b2807968f9f4852fa (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: http://svn.digium.com/svn/asterisk/trunk@126356 f38db490-d61c-443f-a65b-d21fe96a405b
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"; |