summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asxparser.c1
-rw-r--r--playtree.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/asxparser.c b/asxparser.c
index f02a66f46b..a6c5196cd5 100644
--- a/asxparser.c
+++ b/asxparser.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
+#include <unistd.h>
#include "asxparser.h"
#include "mp_msg.h"
diff --git a/playtree.c b/playtree.c
index 4feda54ae2..4f1944397d 100644
--- a/playtree.c
+++ b/playtree.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include <assert.h>
#include "playtree.h"
#include "mp_msg.h"