VirtualBox

Changeset 60509 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Apr 14, 2016 5:29:15 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106619
Message:

Main/Console+Host: winsock2 include fixing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r60411 r60509  
    2525*   Header Files                                                                                                                 *
    2626*********************************************************************************************************************************/
    27 /* For some reason Windows burns in sdk\...\winsock.h if this isn't included first. */
    28 #include "VBox/com/ptr.h"
     27
     28// VBoxNetCfg-win.h needs winsock2.h and thus MUST be included before any other
     29// header file includes Windows.h.
     30#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
     31# include <VBox/VBoxNetCfg-win.h>
     32#endif
    2933
    3034#include "ConsoleImpl.h"
     
    108112# endif
    109113# if defined(RT_OS_WINDOWS)
    110 #  include <VBox/VBoxNetCfg-win.h>
    111114#  include <Ntddndis.h>
    112115#  include <devguid.h>
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