summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-08-11 00:35:21 +0200
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2015-08-15 13:17:07 +0200
commit24e1abe367c702e366198beabbe5b760a3b9c12e (patch)
tree675ddfc8c89e6370a20bf1108e23678769dff7fd /gst
parent8c9da14995e63e88cac26366533baa925a7a2b73 (diff)
Headers: add missing includes.
Diffstat (limited to 'gst')
-rw-r--r--gst/glib-compat.h2
-rw-r--r--gst/gstallocator.h1
-rw-r--r--gst/gstatomicqueue.h1
-rw-r--r--gst/gstcapsfeatures.h2
-rw-r--r--gst/gstclock.h3
-rw-r--r--gst/gstcompat.h3
-rw-r--r--gst/gstcontext.h2
-rw-r--r--gst/gstdeviceprovider.h3
-rw-r--r--gst/gstelementmetadata.h2
-rw-r--r--gst/gstmacros.h2
-rw-r--r--gst/gstmemory.h1
-rw-r--r--gst/gstmeta.h3
-rw-r--r--gst/gstpad.h2
-rw-r--r--gst/gstpluginloader.h3
-rw-r--r--gst/gstquark.h2
-rw-r--r--gst/gsttrace.h1
16 files changed, 32 insertions, 1 deletions
diff --git a/gst/glib-compat.h b/gst/glib-compat.h
index 934953be3..5fb267b6c 100644
--- a/gst/glib-compat.h
+++ b/gst/glib-compat.h
@@ -30,6 +30,8 @@
#ifndef __GST_GLIB_COMPAT_H__
#define __GST_GLIB_COMPAT_H__
+#include <glib.h>
+
G_BEGIN_DECLS
G_END_DECLS
diff --git a/gst/gstallocator.h b/gst/gstallocator.h
index f0fe0a331..f0e84d82b 100644
--- a/gst/gstallocator.h
+++ b/gst/gstallocator.h
@@ -24,6 +24,7 @@
#define __GST_ALLOCATOR_H__
#include <gst/gstmemory.h>
+#include <gst/gstobject.h>
G_BEGIN_DECLS
diff --git a/gst/gstatomicqueue.h b/gst/gstatomicqueue.h
index a176c1b81..3f674c34d 100644
--- a/gst/gstatomicqueue.h
+++ b/gst/gstatomicqueue.h
@@ -21,6 +21,7 @@
*/
#include <glib.h>
+#include <glib-object.h>
#ifndef __GST_ATOMIC_QUEUE_H__
#define __GST_ATOMIC_QUEUE_H__
diff --git a/gst/gstcapsfeatures.h b/gst/gstcapsfeatures.h
index 441e1a11a..618e43fea 100644
--- a/gst/gstcapsfeatures.h
+++ b/gst/gstcapsfeatures.h
@@ -23,6 +23,8 @@
#include <gst/gstconfig.h>
#include <gst/glib-compat.h>
+#include <glib-object.h>
+#include <glib.h>
G_BEGIN_DECLS
diff --git a/gst/gstclock.h b/gst/gstclock.h
index c42f74277..cb828317e 100644
--- a/gst/gstclock.h
+++ b/gst/gstclock.h
@@ -24,6 +24,9 @@
#ifndef __GST_CLOCK_H__
#define __GST_CLOCK_H__
+#include <gst/gstconfig.h>
+#include <glib.h>
+
G_BEGIN_DECLS
/* --- standard type macros --- */
diff --git a/gst/gstcompat.h b/gst/gstcompat.h
index 67f516820..b61124681 100644
--- a/gst/gstcompat.h
+++ b/gst/gstcompat.h
@@ -32,6 +32,9 @@
* This can be done in CFLAGS for compiling old code.
*/
+#include <glib.h>
+#include <gst/gstpad.h>
+
G_BEGIN_DECLS
diff --git a/gst/gstcontext.h b/gst/gstcontext.h
index 0883f0da8..f1f89f5a7 100644
--- a/gst/gstcontext.h
+++ b/gst/gstcontext.h
@@ -24,6 +24,8 @@
#ifndef __GST_CONTEXT_H__
#define __GST_CONTEXT_H__
+#include <glib.h>
+
G_BEGIN_DECLS
typedef struct _GstContext GstContext;
diff --git a/gst/gstdeviceprovider.h b/gst/gstdeviceprovider.h
index d53ba53bc..239faeb27 100644
--- a/gst/gstdeviceprovider.h
+++ b/gst/gstdeviceprovider.h
@@ -19,7 +19,6 @@
* Boston, MA 02111-1307, USA.
*/
-#include <gst/gstdeviceproviderfactory.h>
#ifndef __GST_DEVICE_PROVIDER_H__
@@ -33,6 +32,8 @@ typedef struct _GstDeviceProvider GstDeviceProvider;
typedef struct _GstDeviceProviderClass GstDeviceProviderClass;
typedef struct _GstDeviceProviderPrivate GstDeviceProviderPrivate;
+#include <gst/gstdeviceproviderfactory.h>
+
#define GST_TYPE_DEVICE_PROVIDER (gst_device_provider_get_type())
#define GST_IS_DEVICE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_DEVICE_PROVIDER))
#define GST_IS_DEVICE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_DEVICE_PROVIDER))
diff --git a/gst/gstelementmetadata.h b/gst/gstelementmetadata.h
index bdb53c7a1..76a0c0498 100644
--- a/gst/gstelementmetadata.h
+++ b/gst/gstelementmetadata.h
@@ -23,6 +23,8 @@
#ifndef __GST_ELEMENT_METADATA_H__
#define __GST_ELEMENT_METADATA_H__
+#include <glib.h>
+
G_BEGIN_DECLS
/**
diff --git a/gst/gstmacros.h b/gst/gstmacros.h
index 47f991739..53cf6cf69 100644
--- a/gst/gstmacros.h
+++ b/gst/gstmacros.h
@@ -19,6 +19,8 @@
#ifndef __GST_MACROS_H__
#define __GST_MACROS_H__
+#include <glib.h>
+
G_BEGIN_DECLS
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
diff --git a/gst/gstmemory.h b/gst/gstmemory.h
index 7d2006981..c8b8fd459 100644
--- a/gst/gstmemory.h
+++ b/gst/gstmemory.h
@@ -26,6 +26,7 @@
#include <gst/gstconfig.h>
#include <glib-object.h>
+#include <gst/gstminiobject.h>
G_BEGIN_DECLS
diff --git a/gst/gstmeta.h b/gst/gstmeta.h
index 4283f8e6f..b5db1d587 100644
--- a/gst/gstmeta.h
+++ b/gst/gstmeta.h
@@ -23,6 +23,9 @@
#ifndef __GST_META_H__
#define __GST_META_H__
+#include <glib.h>
+#include <gst/gstbuffer.h>
+
G_BEGIN_DECLS
typedef struct _GstMeta GstMeta;
diff --git a/gst/gstpad.h b/gst/gstpad.h
index 7e64ac931..89a24d42a 100644
--- a/gst/gstpad.h
+++ b/gst/gstpad.h
@@ -61,6 +61,8 @@ typedef enum {
GST_PAD_MODE_PULL
} GstPadMode;
+#include <glib.h>
+
const gchar * gst_pad_mode_get_name (GstPadMode mode);
#include <gst/gstobject.h>
diff --git a/gst/gstpluginloader.h b/gst/gstpluginloader.h
index 53ac6fbfe..dfbac5975 100644
--- a/gst/gstpluginloader.h
+++ b/gst/gstpluginloader.h
@@ -21,6 +21,9 @@
#ifndef __GST_PLUGINLOADER_H__
#define __GST_PLUGINLOADER_H__
+#include <glib.h>
+#include <gst/gstregistry.h>
+
G_BEGIN_DECLS
typedef struct _GstPluginLoader GstPluginLoader;
diff --git a/gst/gstquark.h b/gst/gstquark.h
index 98bfdd02f..b8daeb005 100644
--- a/gst/gstquark.h
+++ b/gst/gstquark.h
@@ -22,6 +22,8 @@
#ifndef __GST_QUARK_H__
#define __GST_QUARK_H__
+#include <glib.h>
+
/* These enums need to match the number and order
* of strings declared in _quark_table, in gstquark.c */
typedef enum _GstQuarkId
diff --git a/gst/gsttrace.h b/gst/gsttrace.h
index 021729f76..33ff63338 100644
--- a/gst/gsttrace.h
+++ b/gst/gsttrace.h
@@ -25,6 +25,7 @@
#define __GST_TRACE_H__
#include <glib.h>
+#include <gst/gstconfig.h>
G_BEGIN_DECLS