projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3be359
)
cache: Only include unistd.h if it exists
author
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Fri, 7 Sep 2012 17:20:42 +0000
(13:20 -0400)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 7 Sep 2012 17:29:58 +0000
(19:29 +0200)
This follows suite from
f3be3597079be7cd7adbb8392c32e408cadd3da2
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/cache.c
patch
|
blob
|
history
diff --git
a/libavformat/cache.c
b/libavformat/cache.c
index
900554a
..
2cfc396
100644
(file)
--- a/
libavformat/cache.c
+++ b/
libavformat/cache.c
@@
-33,10
+33,12
@@
#include "libavutil/file.h"
#include "avformat.h"
#include <fcntl.h>
-#if HAVE_
SETMODE
+#if HAVE_
IO_H
#include <io.h>
#endif
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <sys/stat.h>
#include <stdlib.h>
#include "os_support.h"