diff --git a/configure.in b/configure.in index fe401c32e16..f23d77f2f02 100644 --- a/configure.in +++ b/configure.in @@ -2256,7 +2256,7 @@ AC_CHECK_FUNCS(alarm bind_textdomain_codeset chflags chown clock confstr \ putenv readlink realpath \ select setegid seteuid setgid \ setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \ - sigaction siginterrupt sigrelse strftime \ + sigaction siginterrupt sigrelse strftime strlcpy \ sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty) diff --git a/pyconfig.h.in b/pyconfig.h.in index b24f49a9612..e08cb0f362d 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -538,6 +538,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + /* Define to 1 if you have the header file. */ #undef HAVE_STROPTS_H