[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 ...



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>