Which files are you talking about? mpi.h includes four headers: stdio.h, iobuf.h, types.h and memory.h The first three are part of the standard library. So I thought you might have meant memory.h, but it doesn't include anything else.
Also what OS are you using, and what exactly are all the errors you get?