From 989284d9ea7f7088ec4bf6c2718ae303a7e52096 Mon Sep 17 00:00:00 2001 From: "Thomas A." Date: Thu, 20 Jun 2024 19:33:54 -0700 Subject: [PATCH] Add "__EPOLL_PACKED" For ARM64 --- darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h b/darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h index 73f152e..f31f092 100644 --- a/darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h +++ b/darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h @@ -30,6 +30,8 @@ enum EPOLL_EVENTS #if defined(__x86_64__) || defined(__i386__) #define __EPOLL_PACKED __attribute__ ((__packed__)) +#elif defined(__arm64__) +#define __EPOLL_PACKED #else #error "Missing __EPOLL_PACKED definition for arch" #endif