diff options
Diffstat (limited to 'include/libbb.h')
-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 b7b0657b6..3cdf28fab 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__ */ |