VirtualBox

Changeset 57252 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Aug 8, 2015 11:21:45 PM (9 years ago)
Author:
vboxsync
Message:

SUPDrv,VBoxNetFlt,VBoxNetAdp: Include the-darwin-kernel.h to avoid duplicating workarounds and EFLAGS.AC macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h

    r57228 r57252  
    2828#define ___the_darwin_kernel_h
    2929
    30 /* Problematic header(s) containing conflicts with IPRT  first. */
     30/* Problematic header(s) containing conflicts with IPRT first. (FreeBSD has fixed these ages ago.) */
    3131#define __STDC_CONSTANT_MACROS
    3232#define __STDC_LIMIT_MACROS
     
    3838#undef PAGE_SIZE
    3939#undef PAGE_SHIFT
     40#undef PVM
     41
    4042
    4143/* Include the IPRT definitions of the conflicting #defines & typedefs. */
     
    7375#include <sys/fcntl.h>
    7476#include <IOKit/IOTypes.h>
    75 #include <IOKit/IOLib.h>
     77#include <IOKit/IOLib.h> /* Note! Has Assert down as a function. */
    7678#include <IOKit/IOMemoryDescriptor.h>
    7779#include <IOKit/IOBufferMemoryDescriptor.h>
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