components/libpcap/patches/30-getifaddrs.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 10 Jan 2013 14:00:15 -0800
branchs11-update
changeset 2460 041818da4769
parent 431 e60e527b8179
permissions -rw-r--r--
16098091 Backport 16010595 to 11.2 (Userland half: libxml2)

--- libpcap-1.1.1/fad-getad.c	Mon Apr  5 10:54:05 2010
+++ patched-libpcap-1.1.1/fad-getad.c	Wed Jul 20 14:50:56 2011
@@ -64,7 +64,7 @@
 # ifdef __Lynx__
 /* LynxOS */
 #  include <netpacket/if_packet.h>
-# else
+# elif defined(linux)
 /* Linux */
 #  include <linux/types.h>
 #  include <linux/if_packet.h>