From 80dc7723fcd9651eb8e1b6c4c86b30cb11ea1854 Mon Sep 17 00:00:00 2001
From: Eric Engestrom <eric@engestrom.ch>
Date: Fri, 8 May 2020 15:13:20 +0200
Subject: [PATCH] test/dbus-device-reservation: fix include path

The extra `../` only works if the build directory is an immediate child of the
source directory. In all the other configurations this breaks the build.

Dropping the extra `../` makes use of the `-I${SOURCE_DIR}` provided by meson.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
---
 tests/modules/dbus-device-reservation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/modules/dbus-device-reservation.c b/tests/modules/dbus-device-reservation.c
index e9c1f303..47c6e7fa 100644
--- a/tests/modules/dbus-device-reservation.c
+++ b/tests/modules/dbus-device-reservation.c
@@ -9,7 +9,7 @@
 #include <wp/wp.h>
 #include <pipewire/pipewire.h>
 
-#include "../../../modules/module-monitor/dbus-device-reservation.h"
+#include "../../modules/module-monitor/dbus-device-reservation.h"
 
 typedef struct {
   GTestDBus *dbus_test;
-- 
GitLab