diff --git a/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc b/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc index 832d1cf3..d4da714a 100644 --- a/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc +++ b/src/experimental/usd/plugins/mjcf/mujoco_to_usd.cc @@ -98,6 +98,9 @@ using pxr::Tf_RegistryInit; using pxr::TfEnum; template using Arch_PerLibInit = pxr::Arch_PerLibInit; +#if defined(ARCH_OS_DARWIN) +using Arch_ConstructorEntry = pxr::Arch_ConstructorEntry; +#endif enum ErrorCodes { UnsupportedGeomTypeError, MujocoCompilationError }; TF_REGISTRY_FUNCTION(pxr::TfEnum) {