diff --git a/src/utils/interface/lighthouse/lighthouse_calibration.h b/src/utils/interface/lighthouse/lighthouse_calibration.h index 80ce022d01..fd2ff2310f 100644 --- a/src/utils/interface/lighthouse/lighthouse_calibration.h +++ b/src/utils/interface/lighthouse/lighthouse_calibration.h @@ -1,6 +1,10 @@ #pragma once -#include "ootx_decoder.h" +#include + +// Forward declaration from ootx_decoder.h. Avoid exposing __fp16 type, which +// doesn't exist on x86, so this header can be compiled for Python bindings. +struct ootxDataFrame_s; typedef struct { float phase; diff --git a/src/utils/src/lighthouse/lighthouse_calibration.c b/src/utils/src/lighthouse/lighthouse_calibration.c index c8bcc90a71..373dc3ec92 100644 --- a/src/utils/src/lighthouse/lighthouse_calibration.c +++ b/src/utils/src/lighthouse/lighthouse_calibration.c @@ -31,6 +31,7 @@ */ #include "lighthouse_calibration.h" +#include "ootx_decoder.h" #include #include "cf_math.h"