summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-19 12:55:29 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-19 12:55:29 +0200
commit7e66a3596949e24a4ff7243103bc21c9f29aaaee (patch)
tree557402062d2336c70bc7e089c4aaf2ef274e0818 /player/lua.c
parent78151efc7e79edaf5ff7daa43ed6a3929159b0ae (diff)
downloadmpv-7e66a3596949e24a4ff7243103bc21c9f29aaaee.tar.bz2
mpv-7e66a3596949e24a4ff7243103bc21c9f29aaaee.tar.xz
fix build on OS X and BSD
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua.c b/player/lua.c
index d99a37a781..39a911ea35 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -1162,6 +1162,7 @@ static int script_join_path(lua_State *L)
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
+#include <signal.h>
// Normally, this must be declared manually, but glibc is retarded.
#ifndef __GLIBC__