t/common: Fix build with XRT_BUILD_DRIVER_VIVE=OFF.

vive_source.h always needs to be included for
vive_source_hook_into_sinks. vive_device.h always needs to be included
for vive_tracking_status struct.
This commit is contained in:
Lubosz Sarnecki 2023-08-09 16:48:39 +02:00
parent 5b9bdefe96
commit 60c57792d9

View file

@ -27,6 +27,8 @@
#include "vive/vive_common.h"
#include "vive/vive_config.h"
#include "vive/vive_calibration.h"
#include "vive/vive_device.h"
#include "vive/vive_source.h"
#include "v4l2/v4l2_interface.h"
#include "xrt/xrt_frameserver.h"
@ -38,8 +40,6 @@
#ifdef XRT_BUILD_DRIVER_VIVE
#include "vive/vive_prober.h"
#include "vive/vive_device.h"
#include "vive/vive_source.h"
#endif
#ifdef XRT_BUILD_DRIVER_SURVIVE