]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add winsock if you've got it, regardless of whether you're msv
authorRoger Dingledine <arma@torproject.org>
Wed, 20 Oct 2004 23:23:53 +0000 (23:23 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 20 Oct 2004 23:23:53 +0000 (23:23 +0000)
svn:r2573

src/common/util.h

index dd55a81c04c5ac82045643c7f7f1e50f4a513b52..5ef3a413d08c5bf1108594f551168ab91f1e6fef 100644 (file)
@@ -24,6 +24,9 @@
 #error "It seems your platform does not represent NULL as zero. We can't cope."
 #endif
 
+#ifdef HAVE_WINSOCK_H
+#include <winsock.h>
+#endif
 #if _MSC_VER > 1300
 #include <winsock2.h>
 #include <ws2tcpip.h>