```
Error   33  error C2375: 'accept' : redefinition; different linkage C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1578
Error   34  error C2375: 'bind' : redefinition; different linkage   C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1600
Error   35  error C2375: 'closesocket' : redefinition; different linkage    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1619
Error   36  error C2375: 'connect' : redefinition; different linkage    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1638
Error   37  error C2375: 'ioctlsocket' : redefinition; different linkage    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1659
Error   38  error C2375: 'getpeername' : redefinition; different linkage    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1680
Error   39  error C2375: 'getsockname' : redefinition; different linkage    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1701
Error   40  error C2375: 'getsockopt' : redefinition; different linkage C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1724
Error   41  error C2375: 'htonl' : redefinition; different linkage  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1745
Error   42  error C2375: 'htons' : redefinition; different linkage  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1762
Error   43  error C2375: 'inet_addr' : redefinition; different linkage  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1780
Error   44  error C2375: 'inet_ntoa' : redefinition; different linkage  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1797
Error   45  error C2375: 'listen' : redefinition; different linkage C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h  1815

```

These are the error I'm getting while preparing build of my project. What I found from my search is that this could be due to inclusion of windows.h before including winsock2.
But I have not included any of these files directly. Thanks in advance for help.