diff --git a/lib/capnp_c.h b/lib/capnp_c.h index 58d1051..38ae389 100644 --- a/lib/capnp_c.h +++ b/lib/capnp_c.h @@ -13,6 +13,7 @@ #include #include +#include #ifdef __cplusplus extern "C" { @@ -24,8 +25,6 @@ extern "C" { #define CAPN_INLINE static #endif -#define IS_BIG_ENDIAN (*(uint16_t *)"\0\xff" < 0x100) - #define CAPN_VERSION 1 /* struct capn is a common structure shared between segments in the same