dect
/
libpcap
Archived
13
0
Fork 0

Define the selectable_fd member of struct pcap in Windows. selectable_fd is needed under Windows for offline captures, if it's not defined, savefile.c refuses to compile.

This commit is contained in:
risso 2003-12-20 10:24:52 +00:00
parent a49d95a110
commit 671d587acd
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.59 2003-12-15 01:35:04 guy Exp $ (LBL)
* @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.60 2003-12-20 10:24:52 risso Exp $ (LBL)
*/
#ifndef pcap_int_h
@ -101,8 +101,8 @@ struct pcap {
int nonblock;
#else
int fd;
int selectable_fd;
#endif /* WIN32 */
int selectable_fd;
int snapshot;
int linktype;
int tzoff; /* timezone offset */