summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-26 21:47:43 +0200
committerwm4 <wm4@nowhere>2014-05-26 21:59:30 +0200
commitfbe59b23b1060cc98577afc883f9efbed9d8eebd (patch)
treebac57eacc29e058c0728be0db3682f103bcb2908 /player
parent6f20d6b74e247847dcfa36fdab0498f7280ab270 (diff)
downloadmpv-fbe59b23b1060cc98577afc883f9efbed9d8eebd.tar.bz2
mpv-fbe59b23b1060cc98577afc883f9efbed9d8eebd.tar.xz
lua: add missing include files
These are actually already included in osdep/io.h, but I think it's cleaner to repeat them in the file where they are actually needed. (osdep/io.h needs to have them for other reasons.)
Diffstat (limited to 'player')
-rw-r--r--player/lua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/lua.c b/player/lua.c
index efbd21b18e..a37f651857 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -18,6 +18,8 @@
#include <assert.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
#include <dirent.h>
#include <math.h>