diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c index 3d9b50a9d4..d1a376023b 100644 --- a/plugins/elements/gstfilesink.c +++ b/plugins/elements/gstfilesink.c @@ -49,6 +49,9 @@ #define lseek _lseeki64 #undef off_t #define off_t guint64 +#ifdef _MSC_VER /* Check if we are using MSVC, fileno is deprecated in favour */ +#define fileno _fileno /* of _fileno */ +#endif #endif #include