Type redefinition
-
Hello friends I got these errors when i compile my project.. i need ur suggestions.. include\winsock2.h(112) : error C2011: 'fd_set' : 'struct' type redefinition include\winsock.h(54) : see declaration of 'fd_set' include\winsock2.h(156) : error C2011: 'timeval' : 'struct' type redefinition include\winsock.h(97) : see declaration of 'timeval' include\winsock2.h(212) : error C2011: 'hostent' : 'struct' type redefinition Thankx
-
Hello friends I got these errors when i compile my project.. i need ur suggestions.. include\winsock2.h(112) : error C2011: 'fd_set' : 'struct' type redefinition include\winsock.h(54) : see declaration of 'fd_set' include\winsock2.h(156) : error C2011: 'timeval' : 'struct' type redefinition include\winsock.h(97) : see declaration of 'timeval' include\winsock2.h(212) : error C2011: 'hostent' : 'struct' type redefinition Thankx
Are you including both winsock.h and winsock2.h? Or what files are you including and in which files?
«_Superman_»