From a4cfebeb45d3fbfd086ba4914c4bccab4e4a0851 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 19 Jun 2024 11:55:49 -0400 Subject: [PATCH] aux/debug_ui: forward type if debug gui feature is disabled Part-of: --- src/xrt/auxiliary/util/u_debug_gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrt/auxiliary/util/u_debug_gui.c b/src/xrt/auxiliary/util/u_debug_gui.c index f7330068c..433bf41ff 100644 --- a/src/xrt/auxiliary/util/u_debug_gui.c +++ b/src/xrt/auxiliary/util/u_debug_gui.c @@ -1,4 +1,4 @@ -// Copyright 2019-2023, Collabora, Ltd. +// Copyright 2019-2024, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file @@ -7,11 +7,13 @@ * @author Moses Turner */ +#include "xrt/xrt_system.h" +#include "xrt/xrt_instance.h" #include "xrt/xrt_config_build.h" #ifndef XRT_FEATURE_DEBUG_GUI -#include "util/u_debug_gui.h" +struct u_debug_gui; int u_debug_gui_create(struct u_debug_gui **out_debug_ui) @@ -33,8 +35,6 @@ u_debug_gui_stop(struct u_debug_gui **debug_ui) #else /* XRT_FEATURE_DEBUG_GUI */ -#include "xrt/xrt_system.h" -#include "xrt/xrt_instance.h" #include "xrt/xrt_config_have.h" #include "xrt/xrt_config_drivers.h"