VirtualBox

Changeset 17761 in vbox


Ignore:
Timestamp:
Mar 12, 2009 4:15:43 PM (16 years ago)
Author:
vboxsync
Message:

Non-windows burn fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostNetworkInterfaceImpl.cpp

    r17759 r17761  
    2525#include "Logging.h"
    2626#include "netif.h"
     27
     28#ifndef RT_OS_WINDOWS
     29#include <arpa/inet.h>
     30#endif /* RT_OS_WINDOWS */
    2731
    2832// constructor / destructor
     
    237241
    238242    in_addr tmp;
     243#if defined(RT_OS_WINDOWS)
    239244    tmp.S_un.S_addr = m.networkMask;
     245#else
     246    tmp.s_addr = m.networkMask;
     247#endif
    240248    char *addr = inet_ntoa(tmp);
    241249    if(addr)
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