diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index f2ad7754c9..75594f64df 100644 --- a/gst/qtmux/gstqtmux.c +++ b/gst/qtmux/gstqtmux.c @@ -84,6 +84,10 @@ #define off_t guint64 #endif +#ifdef _MSC_VER +#define ftruncate g_win32_ftruncate +#endif + #ifdef HAVE_UNISTD_H # include #endif