mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
filesrc: rearrange sys/stat.h inclusion point for MinGW
gstplugin.h used to include this for us, but doesn't any longer. https://bugzilla.gnome.org/show_bug.cgi?id=675171
This commit is contained in:
parent
477636479c
commit
8a962bc1ab
1 changed files with 1 additions and 1 deletions
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h> /* lseek, open, close, read */
|
||||
/* On win32, stat* default to 32 bit; we need the 64-bit
|
||||
|
@ -56,7 +57,6 @@
|
|||
* _stat*, since we're explicitly overriding that */
|
||||
#undef _INC_STAT_INL
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
Loading…
Reference in a new issue