spa: Include type-map.h where necesarry

These include files need type declarations in type-map.h. Don't require
includers to know that; just include dependencies directly.
This commit is contained in:
Jonas Ådahl 2017-05-17 17:24:26 +08:00 committed by Wim Taymans
parent 845ff79f9f
commit 0855ca0050
2 changed files with 2 additions and 0 deletions

View file

@ -28,6 +28,7 @@ typedef struct _SpaBuffer SpaBuffer;
#include <spa/defs.h>
#include <spa/meta.h>
#include <spa/type-map.h>
#define SPA_TYPE__Buffer SPA_TYPE_POINTER_BASE "Buffer"
#define SPA_TYPE_BUFFER_BASE SPA_TYPE__Buffer ":"

View file

@ -26,6 +26,7 @@ extern "C" {
#include <spa/defs.h>
#include <spa/ringbuffer.h>
#include <spa/type-map.h>
#define SPA_TYPE__Meta SPA_TYPE_POINTER_BASE "Meta"
#define SPA_TYPE_META_BASE SPA_TYPE__Meta ":"