We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe33e3 commit 405a2f2Copy full SHA for 405a2f2
src/syscall/types_linux.go
@@ -111,7 +111,7 @@ typedef struct {} ptracePer;
111
// The real epoll_event is a union, and godefs doesn't handle it well.
112
struct my_epoll_event {
113
uint32_t events;
114
-#if defined(__ARM_EABI__) || (defined(__mips__) && _MIPS_SIM == _ABIO32)
+#if defined(__ARM_EABI__) || defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABIO32)
115
// padding is not specified in linux/eventpoll.h but added to conform to the
116
// alignment requirements of EABI
117
int32_t padFd;
src/syscall/ztypes_linux_arm64.go
@@ -564,6 +564,7 @@ type Ustat_t struct {
564
565
type EpollEvent struct {
566
Events uint32
567
+ _ int32
568
Fd int32
569
Pad int32
570
}
0 commit comments