[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] add winsock if you"ve got it, regardless of whether you"re ...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] add winsock if you"ve got it, regardless of whether you"re ...
- From: arma@seul.org (Roger Dingledine)
- Date: Wed, 20 Oct 2004 19:23:55 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 20 Oct 2004 19:24:14 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common
Modified Files:
util.h
Log Message:
add winsock if you've got it, regardless of whether you're msv
Index: util.h
===================================================================
RCS file: /home/or/cvsroot/src/common/util.h,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- util.h 16 Oct 2004 21:41:12 -0000 1.102
+++ util.h 20 Oct 2004 23:23:53 -0000 1.103
@@ -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>