Changeset 85344 in vbox for trunk/src/VBox/HostDrivers/darwin/VBoxNetSend.h
- Timestamp:
- Jul 14, 2020 6:46:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/darwin/VBoxNetSend.h
r82968 r85344 40 40 41 41 # include <sys/socket.h> 42 # include <net/kpi_interface.h> 42 # if MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 /* The 10.15 SDK has a slightly butchered API deprecation attempt. */ 43 # pragma clang diagnostic push 44 # pragma clang diagnostic ignored "-Wmacro-redefined" /* Each header redefines __NKE_API_DEPRECATED. */ 45 # pragma clang diagnostic ignored "-Wmissing-declarations" /* Misplaced __NKE_API_DEPRECATED; in kpi_mbuf.h. */ 46 # include <net/kpi_interface.h> 47 # include <sys/kpi_mbuf.h> 48 # include <net/if.h> 49 # pragma clang diagnostic pop 50 # else /* < 10.15 */ 51 # include <net/kpi_interface.h> 43 52 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ 44 # include <sys/kpi_mbuf.h>53 # include <sys/kpi_mbuf.h> 45 54 RT_C_DECLS_END 46 # include <net/if.h> 55 # include <net/if.h> 56 # endif /* < 10.15 */ 57 47 58 48 59 RT_C_DECLS_BEGIN
Note:
See TracChangeset
for help on using the changeset viewer.