summaryrefslogtreecommitdiffstats
path: root/gst/qtmux/gstqtmux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-23 11:17:39 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-23 17:07:16 +0100
commitfcfc22f6f644227687614bb4cf71a6f63d52a1e9 (patch)
tree2adada27cf475e79bbac797e918add99c4e1ff02 /gst/qtmux/gstqtmux.c
parentdf124a0b28c5c76731cd6ed47b5a284a41366d9d (diff)
downloadgst-plugins-bad-fcfc22f6f644227687614bb4cf71a6f63d52a1e9.tar.gz
gst-plugins-bad-fcfc22f6f644227687614bb4cf71a6f63d52a1e9.tar.bz2
gst-plugins-bad-fcfc22f6f644227687614bb4cf71a6f63d52a1e9.zip
qtmux: fix includes for lseek
--
Diffstat (limited to 'gst/qtmux/gstqtmux.c')
-rw-r--r--gst/qtmux/gstqtmux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index 430e979f..4b4344b0 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -75,6 +75,7 @@
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
+#include <sys/types.h>
#ifdef G_OS_WIN32
#include <io.h> /* lseek, open, close, read */
#undef lseek
@@ -83,6 +84,10 @@
#define off_t guint64
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include "gstqtmux.h"
GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug);