Add some missing headers to be able to compile source d3d9 code with nine