Changeset View
Changeset View
Standalone View
Standalone View
kcheckpass/kcheckpass.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | |||||
58 | 58 | | |||
59 | 59 | | |||
60 | #ifdef ultrix | 60 | #ifdef ultrix | ||
61 | #include <auth.h> | 61 | #include <auth.h> | ||
62 | #endif | 62 | #endif | ||
63 | 63 | | |||
64 | #include <unistd.h> | 64 | #include <unistd.h> | ||
65 | 65 | | |||
66 | #ifdef OSF1_ENH_SEC | | |||
67 | #include <sys/security.h> | | |||
68 | #include <prot.h> | | |||
69 | #endif | | |||
70 | | ||||
71 | /* Make sure there is only one! */ | 66 | /* Make sure there is only one! */ | ||
72 | #if defined(HAVE_PAM) | 67 | #if defined(HAVE_PAM) | ||
73 | # undef HAVE_OSF_C2_PASSWD | | |||
74 | #elif defined(HAVE_OSF_C2_PASSWD) | | |||
75 | #elif defined(_AIX) | | |||
76 | # define HAVE_AIX_AUTH | | |||
77 | #elif defined(HAVE_GETSPNAM) | | |||
78 | # define HAVE_SHADOW | | |||
79 | #else | 68 | #else | ||
80 | # define HAVE_ETCPASSWD | 69 | #define HAVE_SHADOW | ||
81 | #endif | 70 | #endif | ||
82 | 71 | | |||
83 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) | 72 | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) | ||
84 | # define ATTR_UNUSED __attribute__((unused)) | 73 | # define ATTR_UNUSED __attribute__((unused)) | ||
85 | # define ATTR_NORETURN __attribute__((noreturn)) | 74 | # define ATTR_NORETURN __attribute__((noreturn)) | ||
86 | # define ATTR_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) | 75 | # define ATTR_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) | ||
87 | #else | 76 | #else | ||
88 | # define ATTR_UNUSED | 77 | # define ATTR_UNUSED | ||
Show All 32 Lines |