diff --git a/lib/capnp_c.h b/lib/capnp_c.h index 9fa2718..2ca9298 100644 --- a/lib/capnp_c.h +++ b/lib/capnp_c.h @@ -115,7 +115,11 @@ struct capn_segment { char *data; size_t len, cap; void *user; -}; +} +#ifdef __GNUC__ +__attribute__((aligned(8))) +#endif +; enum CAPN_TYPE { CAPN_NULL = 0,