diff --git a/src/xrt/ipc/client/ipc_client_instance.c b/src/xrt/ipc/client/ipc_client_instance.c index d6c797360..cf25a6230 100644 --- a/src/xrt/ipc/client/ipc_client_instance.c +++ b/src/xrt/ipc/client/ipc_client_instance.c @@ -7,6 +7,7 @@ * @ingroup ipc_client */ +#include "xrt/xrt_results.h" #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) #define _CRT_SECURE_NO_WARNINGS #endif @@ -376,12 +377,12 @@ ipc_client_instance_create_system(struct xrt_instance *xinst, return XRT_SUCCESS; } -static int +static xrt_result_t ipc_client_instance_get_prober(struct xrt_instance *xinst, struct xrt_prober **out_xp) { *out_xp = NULL; - return -1; + return XRT_ERROR_PROBER_NOT_SUPPORTED; } static void