Signed-off-by: Daniel Gröber <dxld@xxxxxxxxxxxxx> --- include/internal/internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/internal/internal.h b/include/internal/internal.h index b1fc670..0f59f1a 100644 --- a/include/internal/internal.h +++ b/include/internal/internal.h @@ -40,6 +40,8 @@ #define IPPROTO_DCCP 33 #endif +#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) + #define BUFFER_SIZE(ret, size, len, offset) \ if (ret < 0) \ return -1; \ -- 2.20.1