Commit 6eb6e32d authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rafaël Carré

lua: fix compilation

Include unistd.h to fix the following error.

----
  CC       liblua_plugin_la-intf.lo
  intf.c: In function 'Start_LuaIntf':
  intf.c:372: error: implicit declaration of function 'close'
----
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 06005e87
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h>
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_interface.h> #include <vlc_interface.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment