cache: Only include unistd.h if it exists
This follows suite from f3be3597079be7cd7adbb8392c32e408cadd3da2. 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…
x
Reference in New Issue
Block a user