VirtualBox

Ignore:
Timestamp:
Aug 11, 2016 12:58:11 PM (8 years ago)
Author:
vboxsync
Message:
Additions/common: add a few
defined(RT_OS_NETBSD) in the common

code to treat NetBSD the same as FreeBSD.

From Haomai Wang GSoC project with additional changes by Arto Huusko.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r62852 r63338  
    8282#  include <net/if_arp.h>
    8383# endif
    84 # if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
     84# if defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD)
    8585#  include <ifaddrs.h> /* getifaddrs, freeifaddrs */
    8686#  include <net/if_dl.h> /* LLADDR */
     
    10891089    return VERR_NOT_IMPLEMENTED;
    10901090
    1091 #elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD)
     1091#elif defined(RT_OS_DARWIN) || defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD)
    10921092    struct ifaddrs *pIfHead = NULL;
    10931093
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette