This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
This allows a file dumped from either an o3DS or a n3DS (and potentially even an original unrebased file) to be used.