ae66fad introduced including winsock2.h Unfortunately some flags are different when getservbyname gets declared there on Windows Mobile compared to Windows CE standard SDK. As there is no consistent way to resolve this and the only dependency is on the servent struct, declare it in the header as well.
bad854b