File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,14 @@ struct kevent32 {
141
141
short filter ; /* filter for event */
142
142
u_short flags ;
143
143
u_int fflags ;
144
+ #ifdef __powerpc__
145
+ uint32_t pad0 ;
146
+ #endif
144
147
int32_t data1 , data2 ;
145
148
uint32_t udata ; /* opaque user data identifier */
149
+ #ifdef __powerpc__
150
+ uint32_t pad1 ;
151
+ #endif
146
152
uint32_t ext64 [8 ];
147
153
};
148
154
Original file line number Diff line number Diff line change @@ -119,7 +119,11 @@ CTASSERT(sizeof(struct statfs32) == 256);
119
119
CTASSERT (sizeof (struct rusage32 ) == 72 );
120
120
#endif
121
121
CTASSERT (sizeof (struct sigaltstack32 ) == 12 );
122
+ #ifdef __powerpc__
123
+ CTASSERT (sizeof (struct kevent32 ) == 64 );
124
+ #else
122
125
CTASSERT (sizeof (struct kevent32 ) == 56 );
126
+ #endif
123
127
CTASSERT (sizeof (struct iovec32 ) == 8 );
124
128
CTASSERT (sizeof (struct msghdr32 ) == 28 );
125
129
#ifdef __amd64__
You can’t perform that action at this time.
0 commit comments