path: root/airpcap.h
diff options
authorGerald Combs <gerald@wireshark.org>2007-01-02 19:56:59 +0000
committerGerald Combs <gerald@wireshark.org>2007-01-02 19:56:59 +0000
commit3d0d45cac5b500a2c19c05a469724c27eef487f9 (patch)
tree9b0f0c6b2d621e6a2df6ab232fe2d358b5d667d6 /airpcap.h
parent9face6ceb82d838dee48dc8c172fcf9ce73301f1 (diff)
From Gisle Vanem:
Here are some patches needed to build using HAVE_AIRPCAP on MingW: * airpcap.h needs 'WEP_KEY_MAX_SIZE' from <epan/crypt/wep-wpadefs.h>. * airpcap_loader.h needs <epan/crypt/airpdcap_user.h> and definition of 'decryption_key_t'. * epan/crypt/airpdcap_interop.h defines 'ntohs()' before <winsock2.h> gets included. Thus creating a parse error later on. svn path=/trunk/; revision=20274
Diffstat (limited to 'airpcap.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/airpcap.h b/airpcap.h
index 13f1155cac..c533fd59ba 100644
--- a/airpcap.h
+++ b/airpcap.h
@@ -22,6 +22,8 @@
#if !defined(AIRPCAP_H__EAE405F5_0171_9592_B3C2_C19EC426AD34__INCLUDED_)
#define AIRPCAP_H__EAE405F5_0171_9592_B3C2_C19EC426AD34__INCLUDED_
+#include <epan/crypt/wep-wpadefs.h> /* WEP_KEY_MAX_SIZE */
/* This disables a VS warning for zero-sized arrays. All the compilers we support have that feature */
#pragma warning( disable : 4200)