aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-10-20 23:23:53 +0000
committerRoger Dingledine <arma@torproject.org>2004-10-20 23:23:53 +0000
commitc4c6ee7d6101642d841d0c79d20b8d3de3fd5d70 (patch)
tree81f70268bca6a3fd6aa7c4a69897e5eb84da2bcd
parent88cffc3c5f35eb55c1834f494909fffd8b3f1f13 (diff)
downloadtor-c4c6ee7d6101642d841d0c79d20b8d3de3fd5d70.tar
tor-c4c6ee7d6101642d841d0c79d20b8d3de3fd5d70.tar.gz
add winsock if you've got it, regardless of whether you're msv
svn:r2573
-rw-r--r--src/common/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index dd55a81c0..5ef3a413d 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -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>