xrt: Do not include util headers in xrt headers

This lead to some files getting u_misc for free, and also
other things being pulled in when they shouldn't have been.
This commit is contained in:
Jakob Bornecrantz 2023-03-16 00:45:10 +00:00
parent 7ce5a729b1
commit 0c83cd350b
7 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,8 @@
* @ingroup aux_util
*/
#include "util/u_misc.h"
#include "u_tracked_imu_3dof.h"

View file

@ -17,6 +17,7 @@
#include "math/m_space.h"
#include "math/m_vec3.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_time.h"
#include "util/u_device.h"

View file

@ -8,6 +8,7 @@
*/
#include "multi.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_debug.h"

View file

@ -9,6 +9,7 @@
#include "qwerty_device.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_distortion_mesh.h"
#include "util/u_var.h"

View file

@ -14,7 +14,6 @@
#include "xrt/xrt_defines.h"
#include "util/u_hand_tracking.h"
#ifdef __cplusplus
extern "C" {

View file

@ -10,6 +10,7 @@
#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
#include "util/u_builders.h"
#include "util/u_config_json.h"
#include "util/u_system_helpers.h"

View file

@ -10,6 +10,7 @@
#include "xrt/xrt_config_drivers.h"
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_builders.h"
#include "util/u_config_json.h"