From 1fbca3b89d07ff69c97fa08dbca1f2d27260ac35 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 23 Mar 2009 11:17:39 +0100 Subject: [PATCH] qtmux: fix includes for lseek -- --- gst/quicktime/gstqtmux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/quicktime/gstqtmux.c b/gst/quicktime/gstqtmux.c index 430e979fa1..4b4344b016 100644 --- a/gst/quicktime/gstqtmux.c +++ b/gst/quicktime/gstqtmux.c @@ -75,6 +75,7 @@ #include #include +#include #ifdef G_OS_WIN32 #include /* lseek, open, close, read */ #undef lseek @@ -83,6 +84,10 @@ #define off_t guint64 #endif +#ifdef HAVE_UNISTD_H +# include +#endif + #include "gstqtmux.h" GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug);