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 6f4c547e5..422670f19 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -76,7 +76,12 @@ | |||
76 | #include <pwd.h> | 76 | #include <pwd.h> |
77 | #include <grp.h> | 77 | #include <grp.h> |
78 | #if ENABLE_FEATURE_SHADOWPASSWDS | 78 | #if ENABLE_FEATURE_SHADOWPASSWDS |
79 | # include <shadow.h> | 79 | # if !ENABLE_USE_BB_SHADOW |
80 | /* If using busybox's shadow implementation, do not include the shadow.h | ||
81 | * header as the toolchain may not provide it at all. | ||
82 | */ | ||
83 | # include <shadow.h> | ||
84 | # endif | ||
80 | #endif | 85 | #endif |
81 | 86 | ||
82 | /* Some libc's forget to declare these, do it ourself */ | 87 | /* Some libc's forget to declare these, do it ourself */ |