]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/cache.c
Merge commit 'd9a2e87b1ce44cce23801e7ec6810f8bf994fa23'
[ffmpeg] / libavformat / cache.c
index 900554a82adf327ce0abb96824de7ee149896dcb..2cfc396f290bab101b8838ad86908624c537a5ce 100644 (file)
 #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"