aboutsummaryrefslogtreecommitdiffstats
path: root/in_cksum.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-06-23 10:32:36 +0000
committerGuy Harris <guy@alum.mit.edu>2002-06-23 10:32:36 +0000
commit73ef5a2753c0c585f45b0f1ba014e455907d417f (patch)
tree8ec2f7762a234f23f5b362bf99e86c209e43195a /in_cksum.c
parent6ef2cc2b1f65e7d6b02a7ac32bf0ae5dc0d29f5c (diff)
WinPcap 2.3's <pcap.h> includes <packet32.h>, and WinPcap 2.3's
<packet32.h> includes <winsock2.h>; we include that rather than <winsock.h>, to avoid errors due to conflicting declarations in <winsock.h> and <winsock2.h>. svn path=/trunk/; revision=5742
Diffstat (limited to 'in_cksum.c')
-rw-r--r--in_cksum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/in_cksum.c b/in_cksum.c
index 2ab7dd36f8..62b729875e 100644
--- a/in_cksum.c
+++ b/in_cksum.c
@@ -2,7 +2,7 @@
* 4.4-Lite-2 Internet checksum routine, modified to take a vector of
* pointers/lengths giving the pieces to be checksummed.
*
- * $Id: in_cksum.c,v 1.4 2001/06/09 01:02:29 guy Exp $
+ * $Id: in_cksum.c,v 1.5 2002/06/23 10:32:14 guy Exp $
*/
/*
@@ -52,8 +52,8 @@
#include <arpa/inet.h>
#endif
-#ifdef HAVE_WINSOCK_H
-#include <winsock.h>
+#ifdef HAVE_WINSOCK2_H
+#include <winsock2.h>
#endif
#include <glib.h>