projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61d88bd
)
qtmux: fix includes for lseek
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 23 Mar 2009 10:17:39 +0000
(11:17 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:11 +0000
(20:32 +0100)
--
gst/quicktime/gstqtmux.c
patch
|
blob
|
history
diff --git
a/gst/quicktime/gstqtmux.c
b/gst/quicktime/gstqtmux.c
index 430e979fa10db7bd642373ef22f796bdfeb512a9..4b4344b0166daa22c68273a322970f24b66da11a 100644
(file)
--- a/
gst/quicktime/gstqtmux.c
+++ b/
gst/quicktime/gstqtmux.c
@@
-75,6
+75,7
@@
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
#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
#ifdef G_OS_WIN32
#include <io.h> /* lseek, open, close, read */
#undef lseek
@@
-83,6
+84,10
@@
#define off_t guint64
#endif
#define off_t guint64
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include "gstqtmux.h"
GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug);
#include "gstqtmux.h"
GST_DEBUG_CATEGORY_STATIC (gst_qt_mux_debug);