diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-07-18 13:40:55 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-07-18 13:40:55 +0200 |
commit | 84a0ecf4724cc57f30d8994cfce532c9de7702f0 (patch) | |
tree | 65a95bdc56f482474f452f1b42486e314f5d2e8e /compat/nss_compat.h | |
parent | 539c1c1524fdeb512c8eec9ea736e7e611da29a8 (diff) |
compatibility improvement: also check for nss_common.h and see if enum nss_status exists
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1166 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'compat/nss_compat.h')
-rw-r--r-- | compat/nss_compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compat/nss_compat.h b/compat/nss_compat.h index b438b8f..238f77c 100644 --- a/compat/nss_compat.h +++ b/compat/nss_compat.h @@ -22,7 +22,12 @@ #ifndef COMPAT__NSS_H #define COMPAT__NSS_H +#ifdef HAVE_NSS_H #include <nss.h> +#endif /* HAVE_NSS_H */ +#ifdef HAVE_NSS_COMMON_H +#include <nss_common.h> +#endif /* HAVE_NSS_COMMON_H */ #ifdef HAVE_ALIASES_H #include <aliases.h> #endif |