pipewire: module-client-device: include "client-device.h" in "resource-device.c"

So that definitions are checked against declarations.
This commit is contained in:
Barnabás Pőcze 2023-07-01 23:13:24 +02:00
parent eaad2b5a87
commit 0eb463ab98
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@ extern "C" {
#define CLIENT_DEVICE_USAGE "["PW_KEY_DEVICE_NAME"=<string>]"
struct pw_device *
struct pw_impl_device *
pw_client_device_new(struct pw_resource *resource,
struct pw_properties *properties);

View file

@ -17,6 +17,8 @@
#include <pipewire/impl.h>
#include "client-device.h"
struct impl {
struct pw_context *context;
struct pw_impl_device *device;