diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-06-23 10:32:36 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-06-23 10:32:36 +0000 |
commit | bfd26685687386cb09c5f6b2a71257677d489a89 (patch) | |
tree | 8ec2f7762a234f23f5b362bf99e86c209e43195a /editcap.c | |
parent | b2560416c80ac31b6658de7966e8baa81f98c0e6 (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>.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5742 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* Edit capture files. We can delete records, adjust timestamps, or * simply convert from one format to another format. * - * $Id: editcap.c,v 1.22 2002/03/31 20:39:08 guy Exp $ + * $Id: editcap.c,v 1.23 2002/06/23 10:32:13 guy Exp $ * * Originally written by Richard Sharpe. * Improved by Guy Harris. @@ -24,8 +24,8 @@ #include <sys/time.h> #endif -#ifdef HAVE_WINSOCK_H -#include <winsock.h> +#ifdef HAVE_WINSOCK2_H +#include <winsock2.h> #endif #include <string.h> |