summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-02 19:18:02 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-03 20:05:05 +0100
commitb43528ea0089db3d1cefc2023babeeb3823f5cb9 (patch)
tree3d34954e79175eb3b11f2507d5e0fd70e3071eee /src/corelib/kernel
parentd1c825ae8cf5eca58f99b49913ac106ee9104f9c (diff)
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>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qcore_mac_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h
index 30e5238cd0..05bd5b7baa 100644
--- a/src/corelib/kernel/qcore_mac_p.h
+++ b/src/corelib/kernel/qcore_mac_p.h
@@ -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;