summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-09-24 08:24:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:51 -0500
commitebf07796086b1b9c03550326c3a3da437d4e7af3 (patch)
treee43423edf49aca154a56804747faa8fb542aa878 /source4/lib
parent60a455dd449acdad9bdb21fbe68a15e2b584a5d2 (diff)
downloadsamba-ebf07796086b1b9c03550326c3a3da437d4e7af3.tar.gz
samba-ebf07796086b1b9c03550326c3a3da437d4e7af3.tar.bz2
samba-ebf07796086b1b9c03550326c3a3da437d4e7af3.zip
r10472: Check for strndup
(This used to be commit 8335aa056fd8a414feaffa707dc0bc20ac27388f)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/config.m4 b/source4/lib/replace/config.m4
index 07fbed9d91..26a2cae56d 100644
--- a/source4/lib/replace/config.m4
+++ b/source4/lib/replace/config.m4
@@ -22,7 +22,7 @@ AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)
AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
AC_CHECK_FUNCS(timegm setenv vsyslog setlinebuf mktime ftruncate chsize rename)
AC_CHECK_FUNCS(waitpid strnlen strlcpy strlcat innetgr initgroups memmove strdup)
-AC_CHECK_FUNCS(pread pwrite)
+AC_CHECK_FUNCS(pread pwrite strndup)
AC_HAVE_DECL(setresuid, [#include <unistd.h>])
AC_HAVE_DECL(setresgid, [#include <unistd.h>])
AC_HAVE_DECL(errno, [#include <errno.h>])