diff options
Diffstat (limited to 'include/shadow_.h')
-rw-r--r-- | include/shadow_.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/shadow_.h b/include/shadow_.h index 92bcde864..5a8b71a47 100644 --- a/include/shadow_.h +++ b/include/shadow_.h | |||
@@ -19,15 +19,13 @@ | |||
19 | 19 | ||
20 | /* Declaration of types and functions for shadow password suite */ | 20 | /* Declaration of types and functions for shadow password suite */ |
21 | 21 | ||
22 | #if !ENABLE_USE_BB_SHADOW | ||
23 | |||
24 | #include <shadow.h> | ||
25 | |||
26 | #else | ||
27 | |||
28 | #ifndef _SHADOW_H | 22 | #ifndef _SHADOW_H |
29 | #define _SHADOW_H 1 | 23 | #define _SHADOW_H 1 |
30 | 24 | ||
25 | #if __GNUC_PREREQ(4,1) | ||
26 | # pragma GCC visibility push(hidden) | ||
27 | #endif | ||
28 | |||
31 | /* Paths to the user database files */ | 29 | /* Paths to the user database files */ |
32 | #ifndef _PATH_SHADOW | 30 | #ifndef _PATH_SHADOW |
33 | #define _PATH_SHADOW "/etc/shadow" | 31 | #define _PATH_SHADOW "/etc/shadow" |
@@ -110,5 +108,8 @@ extern int lckpwdf(void); | |||
110 | /* Unlock password file */ | 108 | /* Unlock password file */ |
111 | extern int ulckpwdf(void); | 109 | extern int ulckpwdf(void); |
112 | 110 | ||
113 | #endif /* shadow.h */ | 111 | #if __GNUC_PREREQ(4,1) |
112 | # pragma GCC visibility pop | ||
114 | #endif | 113 | #endif |
114 | |||
115 | #endif /* shadow.h */ | ||