summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-30 23:17:20 +0100
committerwm4 <wm4@nowhere>2013-11-30 23:17:20 +0100
commitfafa2f4b85afedf9722367d4972fe657a9336bd7 (patch)
treec59ce134d2b11b341bb340b348574c54672f6fc4
parent9d8573cfe85fa1810ec6a18c584e920b47da1dad (diff)
downloadmpv-fafa2f4b85afedf9722367d4972fe657a9336bd7.tar.bz2
mpv-fafa2f4b85afedf9722367d4972fe657a9336bd7.tar.xz
osdep/io: also include unistd.h
Might be needed by fcntl() usage.
-rw-r--r--osdep/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/io.c b/osdep/io.c
index 4ad00d8df3..e816cc714d 100644
--- a/osdep/io.c
+++ b/osdep/io.c
@@ -18,6 +18,8 @@
* with mplayer2. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <unistd.h>
+
#include "config.h"
#include "osdep/io.h"