mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 10:51:38 +00:00
cache: Only include unistd.h if it exists
This follows suite from f3be359707
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f3be359707
commit
af2a17c09a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user