VirtualBox

Changeset 18924 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 15, 2009 10:19:29 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45987
Message:

Main: Stub host networking stuff for FreeBSD to make it possible to compile Main and all Frontends on FreeBSD

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r18594 r18924  
    2828#ifndef RT_OS_WINDOWS
    2929#include <arpa/inet.h>
     30# ifdef RT_OS_FREEBSD
     31#  include <netinet/in.h> /* INADDR_NONE */
     32# endif
    3033#endif /* RT_OS_WINDOWS */
    3134
  • trunk/src/VBox/Main/Makefile.kmk

    r18884 r18924  
    384384 VBoxSVC_SOURCES.darwin  +=  darwin/NetIf-darwin.cpp
    385385 VBoxSVC_SOURCES.solaris += solaris/NetIf-solaris.cpp
     386 VBoxSVC_SOURCES.freebsd += freebsd/NetIf-freebsd.cpp
    386387 VBoxSVC_DEFS            += VBOX_WITH_HOSTNETIF_API
    387  if1of ($(KBUILD_TARGET), linux darwin solaris)
     388 if1of ($(KBUILD_TARGET), linux darwin solaris freebsd)
    388389  VBoxSVC_SOURCES        += generic/NetIf-generic.cpp
    389390 endif
Note: See TracChangeset for help on using the changeset viewer.

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