[Patch] Adds some missing header

Hi,
This adds some of missing headers for mingw. OK?

Regards,
Abid