--- src/corelib/io/qfilesystemwatcher_fsevents_p.h.orig	2015-05-07 22:14:48
+++ src/corelib/io/qfilesystemwatcher_fsevents_p.h	2024-11-25 11:06:21
@@ -72,6 +72,10 @@
 typedef UInt32 FSEventStreamEventFlags;
 typedef uint64_t FSEventStreamEventId;
 
+#ifdef __arm64__
+#define stat64 stat
+#endif
+
 QT_BEGIN_NAMESPACE
 
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 && !defined(Q_OS_IOS)