Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/passwd.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-04-15 23:20:40 +0200
committerArthur de Jong <arthur@arthurdejong.org>2011-04-15 23:20:40 +0200
commit8e5373638043870f0f068d48e4c9e69d904abdfb (patch)
tree0b5ccfb290bff17f28c7332f78dc34c4a2eb027d /nslcd/passwd.c
parentf4ef68224b38febc2e6d0fb22933be7413e0a4fa (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/passwd.c')
-rw-r--r--nslcd/passwd.c1
1 files changed, 1 insertions, 0 deletions
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'