Error when building with Eclipse - minmax.h not found

Hi did you ever get it working, as I am having a similar problem.

I didn’t want to use visual studio. I user codeblocks with the mingw gcc compiler.
Everytime I try to complete I get the fatal error: minmax.h: no such file or directory.

If you have got it working, I could do with some help.