diff --git a/lib/libedit/config.h.in b/lib/libedit/config.h.in index df59ac317..9fe3a977c 100644 --- a/lib/libedit/config.h.in +++ b/lib/libedit/config.h.in @@ -118,6 +118,12 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcat' function. */ +#undef HAVE_STRLCAT + +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR diff --git a/lib/libedit/configure.ac b/lib/libedit/configure.ac index 08591bab1..5e164b57b 100644 --- a/lib/libedit/configure.ac +++ b/lib/libedit/configure.ac @@ -74,7 +74,7 @@ AC_PROG_GCC_TRADITIONAL #AC_FUNC_REALLOC AC_TYPE_SIGNAL AC_FUNC_STAT -AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup]) +AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strlcpy strlcat strerror strrchr strstr strtol issetugid wcsdup]) EL_GETPW_R_POSIX EL_GETPW_R_DRAFT