fix epoll structure alignment on non-x86_64 archs
[musl] / include / sys / epoll.h
index 5e131ab..1f0312e 100644 (file)
@@ -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);