Strange, you should at least run into problems #1, #2, and #3.
#1 It makes no difference, I removed the typedef u_int to SOCKET and compiled, which generates no error or warning just like before. Anyway, if this is not needed we should perhaps also just remove it from the code. What compiler error do you get from this, can you post it?
#2 My pull also prevents this from beeing a problem without new includes for WIN32. As we often use #ifdef WIN32, is this correct with mingw-64 or a 64 bit compiler also or could that cause your errors? Same question as above, can you post compiler errors / warnings for this?
#3 No idea for this, can you link me to a page that gives info about when to define or set BOOST_USE_WINDOWS_H.
One last thing, I compile bitcoin-qt, not bitcoind, perhaps that also makes a difference...
Thanks,
Dia