components/libpcap/patches/30-getifaddrs.patch
author Ron Jordan <ron.jordan@oracle.com>
Tue, 22 Jan 2013 14:45:57 -0800
branchs11u1-sru
changeset 2472 a1822222111d
parent 431 e60e527b8179
permissions -rw-r--r--
15821251 SUNBT7203499 openssl pkcs11 decrypt shows annoying messages 15809484 SUNBT7190828 Apache webserver crashes in 'ENGINE_load_pk11' when pkcs11 not conf

--- 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>