$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c,v 1.1 2014/07/27 05:36:07 ryoon Exp $ --- mozilla/media/mtransport/third_party/nICEr/src/stun/addrs.c.orig 2013-10-23 22:09:11.000000000 +0000 +++ mozilla/media/mtransport/third_party/nICEr/src/stun/addrs.c @@ -55,7 +55,13 @@ static char *RCSSTRING __UNUSED__="$Id: #endif #include #ifndef LINUX +#if !defined(__OpenBSD__) && !defined(__NetBSD__) #include +#endif +#include +#include +#include +#elif defined(__NetBSD__) #include #include #include @@ -80,7 +86,7 @@ static char *RCSSTRING __UNUSED__="$Id: -#ifdef DARWIN +#if defined(BSD) || defined(DARWIN) /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -695,7 +701,7 @@ nr_stun_get_addrs(nr_transport_addr addr int _status=0; int i; -#ifdef DARWIN +#if defined(BSD) || defined(DARWIN) _status = stun_get_mib_addrs(addrs, maxaddrs, count); #elif defined(WIN32) _status = stun_get_win32_addrs(addrs, maxaddrs, count);