From 1d5a2c83b57afa5414c54ddbff576b8d79de9ad3 Mon Sep 17 00:00:00 2001 From: Michael Gartsbein Date: Thu, 5 May 2016 10:55:12 +0300 Subject: [PATCH] include fix --- lib/capnp_c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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