diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-23 11:17:39 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-23 17:07:16 +0100 |
commit | fcfc22f6f644227687614bb4cf71a6f63d52a1e9 (patch) | |
tree | 2adada27cf475e79bbac797e918add99c4e1ff02 /gst/qtmux/gstqtmux.c | |
parent | df124a0b28c5c76731cd6ed47b5a284a41366d9d (diff) | |
download | gst-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.c | 5 |
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); |