libpcap/libpcap.patch

changeset 499
a5345734c62c
parent 489
0348d09236d3
     1.1 --- a/libpcap/libpcap.patch	Thu Aug 09 18:55:01 2012 +0200
     1.2 +++ b/libpcap/libpcap.patch	Thu Aug 09 18:57:21 2012 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  +/* Yes Solaris 11 defines AF_PACKET but it does so in sys/socket.h */
     1.5  +/* rather than netpacket/packet.h as claimed here. Not ready for   */
     1.6  +/* prime time time so circumvent until corrected upstream.         */
     1.7 -+#ifdef AF_PACKET_KAPUTTIBUG
     1.8 ++#ifdef __linux || AF_PACKET_KAPUTTIBUG
     1.9   # ifdef HAVE_NETPACKET_PACKET_H
    1.10   /* Solaris 11 and later, Linux distributions with newer glibc */
    1.11   #  include <netpacket/packet.h>

mercurial