mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +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:
parent
8dd65cdfba
commit
6c04259c39
1 changed files with 0 additions and 6 deletions
|
@ -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_ */
|
||||||
|
|
Loading…
Reference in a new issue