*** ../psqlodbc/socket.c        2010-05-26 20:41:50.870000000 +0900
--- ./socket.c  2010-09-23 00:30:24.388000000 +0900
***************
*** 33,38 ****
--- 33,39 ----

  #ifdef WIN32
  #include <time.h>
+ #include <Wspiapi.h>
  #else
  #include <stdlib.h>
  #include <string.h>                           /* for memset */
