They are compiler errors.
It seems that your compiler is having trouble with this structure:
Code:
00113 typedef struct st_net {
00114 Vio* vio;
00115 my_socket fd; /* For Perl DBI/dbd */
00116 int fcntl;
00117 unsigned char *buff,*buff_end,*write_pos,*read_pos;
00118 char last_error[MYSQL_ERRMSG_SIZE];
00119 unsigned int last_errno,max_packet,timeout,pkt_nr;
00120 unsigned char error;
00121 my_bool return_errno,compress;
00122 my_bool no_send_ok; /* needed if we are doing several
00123 queries in one command ( as in LOAD TABLE ... FROM MASTER ),
00124 and do not want to confuse the client with OK at the wrong time
00125 */
00126 unsigned long remain_in_buf,length, buf_length, where_b;
00127 unsigned int *return_status;
00128 unsigned char reading_or_writing;
00129 char save_char;
00130 } NET;
However, this was taken from the web and is probably different to your version so please paste your version from mysql_com.h 116.
My guess would be that the SOCKET (alias my_socket above) type is not defined. Try including <winsock.h> above all your other headers.
All the other errors probably relate to the NET type not being declared.