diff options
Diffstat (limited to 'src/includes')
| -rw-r--r-- | src/includes/helpers.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/includes/helpers.h b/src/includes/helpers.h index 39b192a3..94e59a83 100644 --- a/src/includes/helpers.h +++ b/src/includes/helpers.h @@ -46,6 +46,8 @@  # define _unused  #endif +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) +  /* Some libc implemntations don't have these */  #ifndef TAILQ_CONCAT  #define TAILQ_CONCAT(head1, head2, field) do {				      \  | 
