qtmux: fix includes for lseek

--
This commit is contained in:
Wim Taymans 2009-03-23 11:17:39 +01:00 committed by Tim-Philipp Müller
parent 61d88bd7da
commit 1fbca3b89d

View file

@ -75,6 +75,7 @@
#include <gst/gst.h> #include <gst/gst.h>
#include <gst/base/gstcollectpads.h> #include <gst/base/gstcollectpads.h>
#include <sys/types.h>
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
#include <io.h> /* lseek, open, close, read */ #include <io.h> /* lseek, open, close, read */
#undef lseek #undef lseek
@ -83,6 +84,10 @@
#define off_t guint64 #define off_t guint64
#endif #endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "gstqtmux.h" #include "gstqtmux.h"
GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug); GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug);