summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-17 07:28:09 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-17 07:28:09 +0000
commit971b002d935155abd56d0b01fe5e284f63439b99 (patch)
treec31c349097cf981b9294f226534608b750c83f92 /configure.in
parentd9a8e317e435222da6dd670049b1f73654bbcca2 (diff)
downloadtor-971b002d935155abd56d0b01fe5e284f63439b99.tar.gz
tor-971b002d935155abd56d0b01fe5e284f63439b99.zip
Include strlcpy and strlcat where not available, so our string ops can be less error-prone.
svn:r1289
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 67027b56e7..b6b12fc46f 100644
--- a/configure.in
+++ b/configure.in
@@ -137,6 +137,7 @@ dnl These headers are not essential
AC_CHECK_HEADERS(stdint.h sys/types.h inttypes.h sys/wait.h netinet/in.h arpa/inet.h)
AC_CHECK_FUNCS(gettimeofday ftime socketpair uname inet_aton strptime)
+AC_REPLACE_FUNCS(strlcat strlcpy)
dnl In case we aren't given a working stdint.h, we'll need to grow our own.
dnl Watch out.