mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
tools: update pw-reserve so don't need to include the c file
This commit is contained in:
parent
1bced6b2ef
commit
b78371f702
3 changed files with 4 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ summary({'Build pw-cat tool': build_pw_cat}, bool_yn: true, section: 'pw-cat/pw-
|
|||
if dbus_dep.found()
|
||||
executable('pw-reserve',
|
||||
'reserve.h',
|
||||
'reserve.c',
|
||||
'pw-reserve.c',
|
||||
install: true,
|
||||
dependencies : [dbus_dep, pipewire_dep],
|
||||
|
|
|
|||
|
|
@ -32,8 +32,9 @@
|
|||
#include <spa/support/dbus.h>
|
||||
|
||||
#include "pipewire/pipewire.h"
|
||||
#include "pipewire/log.h"
|
||||
|
||||
#include "reserve.c"
|
||||
#include "reserve.h"
|
||||
|
||||
struct impl {
|
||||
struct pw_main_loop *mainloop;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
#include "reserve.h"
|
||||
|
||||
#include <spa/utils/string.h>
|
||||
#include <pipewire/log.h>
|
||||
|
||||
#define SERVICE_PREFIX "org.freedesktop.ReserveDevice1."
|
||||
#define OBJECT_PREFIX "/org/freedesktop/ReserveDevice1/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue