1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

Remove useless ws2tcpip.h include in net.h

It's already included above, and QT_DLL condition is meaningless
since net.h is only being used inside libtransmission which doesn't
use Qt.
This commit is contained in:
Mike Gelfand 2015-05-30 15:44:17 +00:00
parent 8dd65cdfba
commit 6c04259c39

View file

@ -176,10 +176,4 @@ char* tr_net_strerror (char * buf, size_t buflen, int err);
const unsigned char *tr_globalIPv6 (void); const unsigned char *tr_globalIPv6 (void);
#if defined (_WIN32) && !defined (QT_DLL)
/* The QT exclusion is because something clashes whith the next include */
#include <ws2tcpip.h> /* socklen_t */
#endif
#endif /* _TR_NET_H_ */ #endif /* _TR_NET_H_ */