summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-03-03 14:56:09 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-03-03 14:58:34 +1100
commit33561e68e0b27366cb769295a077aabc6a49d2a1 (patch)
treeb83b5847926eb4bc37224d97bc3d142d48f032dc /configure.ac
parente8a17feba95eef424303fb94441008f6c5347aaf (diff)
Add strndup for platforms that need it.
Some platforms don't have strndup, which includes Solaris 10, NetBSD 3 and FreeBSD 6.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7e6e1ebd..70e72be7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1809,6 +1809,7 @@ AC_CHECK_FUNCS([ \
strlcat \
strlcpy \
strmode \
+ strndup \
strnlen \
strnvis \
strptime \