diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-23 10:32:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-23 10:32:36 +0000 |
commit | 73ef5a2753c0c585f45b0f1ba014e455907d417f (patch) | |
tree | 8ec2f7762a234f23f5b362bf99e86c209e43195a /wiretap/buffer.h | |
parent | 6ef2cc2b1f65e7d6b02a7ac32bf0ae5dc0d29f5c (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 'wiretap/buffer.h')
-rw-r--r-- | wiretap/buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/buffer.h b/wiretap/buffer.h index b742e3eb44..a3eaa929bd 100644 --- a/wiretap/buffer.h +++ b/wiretap/buffer.h @@ -1,6 +1,6 @@ /* buffer.h * - * $Id: buffer.h,v 1.8 2001/11/13 23:55:43 gram Exp $ + * $Id: buffer.h,v 1.9 2002/06/23 10:32:36 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -26,8 +26,8 @@ #define SOME_FUNCTIONS_ARE_DEFINES -#ifdef HAVE_WINSOCK_H -#include <winsock.h> /* to define u_char */ +#ifdef HAVE_WINSOCK2_H +#include <winsock2.h> /* to define u_char */ #endif typedef struct Buffer { |