How do I GetD3DRHI() in my project without invasively editing engine source code?

Hey. I need to basically get the FD3D12DynamicRHI struct with all its cool things, however when trying to include headers for this I run into issues like other headers “missing”, even though they definitely aren’t.

Now either I edit the source code related to that, which is extremely undesirable, or I write my own data structure for D3D12 API, which is just as undesirable.

So basically what it says in the title.