aux/debug_ui: forward type if debug gui feature is disabled

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2254>
This commit is contained in:
Simon Zeni 2024-06-19 11:55:49 -04:00
parent bcbe19ddd7
commit a4cfebeb45

View file

@ -1,4 +1,4 @@
// Copyright 2019-2023, Collabora, Ltd. // Copyright 2019-2024, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0 // SPDX-License-Identifier: BSL-1.0
/*! /*!
* @file * @file
@ -7,11 +7,13 @@
* @author Moses Turner <moses@collabora.com> * @author Moses Turner <moses@collabora.com>
*/ */
#include "xrt/xrt_system.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_config_build.h" #include "xrt/xrt_config_build.h"
#ifndef XRT_FEATURE_DEBUG_GUI #ifndef XRT_FEATURE_DEBUG_GUI
#include "util/u_debug_gui.h" struct u_debug_gui;
int int
u_debug_gui_create(struct u_debug_gui **out_debug_ui) 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 */ #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_have.h"
#include "xrt/xrt_config_drivers.h" #include "xrt/xrt_config_drivers.h"