Changeset 17761 in vbox
- Timestamp:
- Mar 12, 2009 4:15:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostNetworkInterfaceImpl.cpp
r17759 r17761 25 25 #include "Logging.h" 26 26 #include "netif.h" 27 28 #ifndef RT_OS_WINDOWS 29 #include <arpa/inet.h> 30 #endif /* RT_OS_WINDOWS */ 27 31 28 32 // constructor / destructor … … 237 241 238 242 in_addr tmp; 243 #if defined(RT_OS_WINDOWS) 239 244 tmp.S_un.S_addr = m.networkMask; 245 #else 246 tmp.s_addr = m.networkMask; 247 #endif 240 248 char *addr = inet_ntoa(tmp); 241 249 if(addr)
Note:
See TracChangeset
for help on using the changeset viewer.