diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-04-15 21:20:40 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-04-15 21:20:40 +0000 |
commit | 8e5373638043870f0f068d48e4c9e69d904abdfb (patch) | |
tree | 0b5ccfb290bff17f28c7332f78dc34c4a2eb027d /nslcd | |
parent | f4ef68224b38febc2e6d0fb22933be7413e0a4fa (diff) |
provide replacement implementation for strndup() for systems that don't have it
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1427 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r-- | nslcd/group.c | 1 | ||||
-rw-r--r-- | nslcd/passwd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/nslcd/group.c b/nslcd/group.c index f320828..c2a09a5 100644 --- a/nslcd/group.c +++ b/nslcd/group.c @@ -37,6 +37,7 @@ #include "myldap.h" #include "cfg.h" #include "attmap.h" +#include "compat/strndup.h" /* ( nisSchema.2.2 NAME 'posixGroup' SUP top STRUCTURAL * DESC 'Abstraction of a group of accounts' diff --git a/nslcd/passwd.c b/nslcd/passwd.c index 5f02486..15124fe 100644 --- a/nslcd/passwd.c +++ b/nslcd/passwd.c @@ -38,6 +38,7 @@ #include "cfg.h" #include "attmap.h" #include "common/dict.h" +#include "compat/strndup.h" /* ( nisSchema.2.0 NAME 'posixAccount' SUP top AUXILIARY * DESC 'Abstraction of an account with POSIX attributes' |