VirtualBox

Ignore:
Timestamp:
Jan 22, 2021 10:50:05 PM (4 years ago)
Author:
vboxsync
Message:

NAT/Net: Make the list of includes less chaotic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r87382 r87383  
    8181#include "../NetLib/VBoxNetBaseService.h"
    8282#include "../NetLib/utils.h"
    83 #include "VBoxLwipCore.h"
     83#include "../NetLib/VBoxPortForwardString.h"
    8484
    8585extern "C"
     
    100100}
    101101
    102 
    103 #if defined(VBOX_RAWSOCK_DEBUG_HELPER)          \
    104     && (defined(VBOX_WITH_HARDENING)            \
    105         || defined(RT_OS_WINDOWS)               \
    106         || defined(RT_OS_DARWIN))
     102#include "VBoxLwipCore.h"
     103
     104#ifdef VBOX_RAWSOCK_DEBUG_HELPER
     105#if    defined(VBOX_WITH_HARDENING) /* obviously */     \
     106    || defined(RT_OS_WINDOWS)       /* not used */      \
     107    || defined(RT_OS_DARWIN)        /* not necessary */
    107108# error Have you forgotten to turn off VBOX_RAWSOCK_DEBUG_HELPER?
    108109#endif
    109 
    110 #ifdef VBOX_RAWSOCK_DEBUG_HELPER
     110/* ask the privileged helper to create a raw socket for us */
    111111extern "C" int getrawsock(int type);
    112112#endif
    113113
    114 #include "../NetLib/VBoxPortForwardString.h"
    115114
    116115static RTGETOPTDEF g_aGetOptDef[] =
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