diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index b7b0657..3cdf28f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1071,4 +1071,7 @@ extern const char bb_default_login_shell[]; #include <dmalloc.h> #endif + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + #endif /* __LIBBUSYBOX_H__ */ |