some platforms (e.g. FreeBSD4) need netinet/in.h to be included
[asterisk/asterisk.git] / pbx / pbx_lua.c
index 598d386..a23b31e 100644 (file)
@@ -32,7 +32,6 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/options.h"
 #include "asterisk/logger.h"
 #include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/logger.h"
 #include "asterisk/channel.h"
 #include "asterisk/pbx.h"
@@ -40,6 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/cli.h"
 #include "asterisk/utils.h"
 #include "asterisk/term.h"
 #include "asterisk/cli.h"
 #include "asterisk/utils.h"
 #include "asterisk/term.h"
+#include "asterisk/paths.h"
 
 #include <lua.h>
 #include <lauxlib.h>
 
 #include <lua.h>
 #include <lauxlib.h>
@@ -301,7 +301,7 @@ static int lua_get_variable_value(lua_State *L)
  * seen in extensions.lua.
  *
  * \code
  * seen in extensions.lua.
  *
  * \code
- * channel.variable:set()
+ * channel.variable:set("value")
  * \endcode
  */
 static int lua_set_variable_value(lua_State *L)
  * \endcode
  */
 static int lua_set_variable_value(lua_State *L)