请教问题:在线等!error C2011 'ip_mreq' : 'struct' type redefinition
各位大侠:
我在编译一个软件电话的程序时,出现了很多重定义错误:'ip_mreq' : 'struct' type redefinition,其中 ip_mreq 是在WS2TCPIP.h中定义的
struct ip_mreq {
struct in_addr imr_multiaddr; /* IP multicast address of group */
struct in_addr imr_interface; /* local IP address of interface */
};
即使把WS2TCPIP.h中的ip_mreq 屏蔽掉也出现同样的错误
请问这个问题怎么解决啊!先谢谢了!