summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2018-08-15 13:15:54 +0200
committerWim Taymans <wtaymans@redhat.com>2018-08-15 13:15:54 +0200
commitc6f701588f56d2b67232b200c8b6d8a496c20951 (patch)
tree83f206867f4c6aa7426d882a550db601d7cfd8ec
parentcc1062933b6b968cfac7650149d5b16edee1798e (diff)
link: improve debug
-rw-r--r--src/pipewire/link.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pipewire/link.c b/src/pipewire/link.c
index 1b6a0fa2..0fc89f90 100644
--- a/src/pipewire/link.c
+++ b/src/pipewire/link.c
@@ -24,9 +24,6 @@
#include <spa/pod/parser.h>
#include <spa/pod/compare.h>
#include <spa/param/param.h>
-#include <spa/debug/node.h>
-#include <spa/debug/pod.h>
-#include <spa/debug/format.h>
#include "private.h"
#include "pipewire.h"
@@ -34,6 +31,11 @@
#include "link.h"
#include "work-queue.h"
+#undef spa_debug
+#include <spa/debug/node.h>
+#include <spa/debug/pod.h>
+#include <spa/debug/format.h>
+
#define MAX_BUFFERS 16
/** \cond */