How can I invoke crypt(3) from a c program on a windows platform? I can't find a header file to include. I have MinGW with gcc and msys installed.
Edit: as an alternative, I would also accept a way to call this function (or an equivalent) from Visual Studio.