--- src/uct/ib/base/ib_device.h.orig 2026-09-09 16:00:25 UTC +++ src/uct/ib/base/ib_device.h @@ -21,8 +21,13 @@ #include #include -#include - +#if defined(__linux__) +# include +# include +#else +# include +# include +#endif #define UCT_IB_QPN_ORDER 24 /* How many bits can be an IB QP number */ #define UCT_IB_UIDX_SHIFT 8 /* BE uidx shift */