- Added OpenBSD bsd-strlcat.c, created bsd-strlcat.h
- Added timersum() macro
- Tidy RCSIDs of bsd-*.c
diff --git a/configure.in b/configure.in
index 2a4a2c7..1fe0c30 100644
--- a/configure.in
+++ b/configure.in
@@ -55,10 +55,10 @@
AC_CHECK_LIB(pam, pam_authenticate, , )
dnl Checks for header files.
-AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h sys/select.h)
+AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h sys/select.h sys/time.h)
dnl Checks for library functions.
-AC_CHECK_FUNCS(openpty strlcpy mkdtemp arc4random setproctitle setlogin)
+AC_CHECK_FUNCS(openpty strlcpy strlcat mkdtemp arc4random setproctitle setlogin)
AC_CHECK_FUNC(login,
[AC_DEFINE(HAVE_LOGIN)],