- Code: Select all
In file included from C:/xampp/mysql/include/mysql.h:72:0:
C:/xampp/mysql/include/mysql_com.h:291:3: error: 'SOCKET' does not name a type
C:/xampp/mysql/include/mysql_com.h:470:16: error: 'SOCKET' was not declared in this scope
C:/xampp/mysql/include/mysql_com.h:470:29: error: expected primary-expression before 'const'
C:/xampp/mysql/include/mysql_com.h:470:58: error: expected primary-expression before 'unsigned'
C:/xampp/mysql/include/mysql_com.h:471:9: error: expected primary-expression before 'unsigned'
So it is missing references to, I think, sys/types.h and/or sys/socket.h, but these are, as far as I know, Linux-specific include files. So how is this normally handled under Windows - does anyone know?