diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 6f4c547..422670f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -76,7 +76,12 @@ #include <pwd.h> #include <grp.h> #if ENABLE_FEATURE_SHADOWPASSWDS -# include <shadow.h> +# if !ENABLE_USE_BB_SHADOW +/* If using busybox's shadow implementation, do not include the shadow.h + * header as the toolchain may not provide it at all. + */ +# include <shadow.h> +# endif #endif /* Some libc's forget to declare these, do it ourself */ |