projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a265f
)
ffmpeg: Only include unistd.h if it exists
author
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Tue, 11 Sep 2012 19:54:09 +0000
(15:54 -0400)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 11 Sep 2012 20:59:43 +0000
(22:59 +0200)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
18b7383
..
4d12f80
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-31,8
+31,13
@@
#include <errno.h>
#include <limits.h>
#if HAVE_ISATTY
+#if HAVE_IO_H
+#include <io.h>
+#endif
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#endif
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"