diff options
-rw-r--r-- | include/sys/epoll.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sys/epoll.h b/include/sys/epoll.h index 5e131ab1..1f0312e5 100644 --- a/include/sys/epoll.h +++ b/include/sys/epoll.h @@ -46,7 +46,11 @@ typedef union epoll_data { struct epoll_event { uint32_t events; epoll_data_t data; -} __attribute__ ((__packed__)); +} +#ifdef __x86_64__ +__attribute__ ((__packed__)) +#endif +; int epoll_create(int); |