libcap compilation error, in wcap30a3 is probably caused by. #define INET6

#udefing it solves compilation problem but this is not a solution for
readers but for wcap team

#ifndef lib_pcap_h
#define lib_pcap_h

#ifdef WIN32
#include <pcap-stdinc.h>
#else /* WIN32 */
#include <sys/types.h>
#include <sys/time.h>
#endif /* WIN32 */

#include <net/bpf.h>

#include <stdio.h>
#undef INET6  <<<<<<<<  added this to solve the compilation problem


NOTE:
30a2 had reference to iphlpapi.lib, removing reference to this lib from
developers pack and wpcap+libcap solves compilation problem.

Aftab Jahan Subedar
Sofware Engineer/Overseas Business Development Manager
Suvastu Software Ltd
Suvastu Tower
69/1 Pantapath Green Road
Dhaka 1205
Bangladesh
sms:+447765341890




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to