Fix mach_port_t not being found
Fixes errors like In file included from qtbase/include/QtCore/6.4.0/QtCore/private/qcore_mac_p.h:1: qtbase/src/corelib/kernel/qcore_mac_p.h:61:9: error: unknown type name 'mach_port_t' Amends e05300163ea865f8233e61f8f6a2b341197203e4 Pick-to: 6.2 6.3 Change-Id: I8f4c579e9b8ef187859497361c4e126a486a543c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
d1c825ae8c
commit
b43528ea00
@ -56,6 +56,7 @@
|
||||
#include <QtCore/qoperatingsystemversion.h>
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
#include <mach/port.h>
|
||||
struct mach_header;
|
||||
typedef int kern_return_t;
|
||||
typedef mach_port_t io_object_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user