diff options
author | stratakis <cstratak@redhat.com> | 2018-01-23 15:11:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2018-01-23 15:11:24 (GMT) |
commit | e768c86ef442ef89004089a8a34ce5909ffb90f2 (patch) | |
tree | d332469497ed5a11fb27db5c7dce129544766476 /configure.ac | |
parent | 370d04d1dcca50a52d59f40aff4d11434f71df6b (diff) | |
download | cpython-e768c86ef442ef89004089a8a34ce5909ffb90f2.zip cpython-e768c86ef442ef89004089a8a34ce5909ffb90f2.tar.gz cpython-e768c86ef442ef89004089a8a34ce5909ffb90f2.tar.bz2 |
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (#5284)
glibc is deprecating libcrypt in favor of libxcrypt, however python assumes
that crypt.h will always be included. This change makes the header inclusion
explicit when libxcrypt is present on the system.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 03b0f50..15ef872 100644 --- a/configure.ac +++ b/configure.ac @@ -2041,7 +2041,7 @@ dnl AC_MSG_RESULT($cpp_type) # checks for header files AC_HEADER_STDC -AC_CHECK_HEADERS(asm/types.h conio.h direct.h dlfcn.h errno.h \ +AC_CHECK_HEADERS(asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \ fcntl.h grp.h \ ieeefp.h io.h langinfo.h libintl.h process.h pthread.h \ sched.h shadow.h signal.h stropts.h termios.h \ |