]> granicus.if.org Git - transmission/commitdiff
Remove useless ws2tcpip.h include in net.h
authorMike Gelfand <mikedld@mikedld.com>
Sat, 30 May 2015 15:44:17 +0000 (15:44 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Sat, 30 May 2015 15:44:17 +0000 (15:44 +0000)
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.

libtransmission/net.h

index dca6b774a3dfd46226cf8ae6076bc6edb5c06bea..ba7825c1d1138e8c95baf35f3330546f423365d9 100644 (file)
@@ -176,10 +176,4 @@ char* tr_net_strerror (char * buf, size_t buflen, int err);
 
 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_ */