Headers: add missing includes.

This commit is contained in:
Mathieu Duponchelle 2015-08-11 00:35:21 +02:00
parent 8c9da14995
commit 24e1abe367
16 changed files with 32 additions and 1 deletions

View file

@ -30,6 +30,8 @@
#ifndef __GST_GLIB_COMPAT_H__
#define __GST_GLIB_COMPAT_H__
#include <glib.h>
G_BEGIN_DECLS
G_END_DECLS

View file

@ -24,6 +24,7 @@
#define __GST_ALLOCATOR_H__
#include <gst/gstmemory.h>
#include <gst/gstobject.h>
G_BEGIN_DECLS

View file

@ -21,6 +21,7 @@
*/
#include <glib.h>
#include <glib-object.h>
#ifndef __GST_ATOMIC_QUEUE_H__
#define __GST_ATOMIC_QUEUE_H__

View file

@ -23,6 +23,8 @@
#include <gst/gstconfig.h>
#include <gst/glib-compat.h>
#include <glib-object.h>
#include <glib.h>
G_BEGIN_DECLS

View file

@ -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 --- */

View file

@ -32,6 +32,9 @@
* This can be done in CFLAGS for compiling old code.
*/
#include <glib.h>
#include <gst/gstpad.h>
G_BEGIN_DECLS

View file

@ -24,6 +24,8 @@
#ifndef __GST_CONTEXT_H__
#define __GST_CONTEXT_H__
#include <glib.h>
G_BEGIN_DECLS
typedef struct _GstContext GstContext;

View file

@ -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))

View file

@ -23,6 +23,8 @@
#ifndef __GST_ELEMENT_METADATA_H__
#define __GST_ELEMENT_METADATA_H__
#include <glib.h>
G_BEGIN_DECLS
/**

View file

@ -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)

View file

@ -26,6 +26,7 @@
#include <gst/gstconfig.h>
#include <glib-object.h>
#include <gst/gstminiobject.h>
G_BEGIN_DECLS

View file

@ -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;

View file

@ -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>

View file

@ -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;

View file

@ -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

View file

@ -25,6 +25,7 @@
#define __GST_TRACE_H__
#include <glib.h>
#include <gst/gstconfig.h>
G_BEGIN_DECLS