diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-01-24 01:51:39 -0800 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2018-01-24 10:51:39 +0100 |
commit | 6ccdad7b1f6fb316e4e85aa1eba8fbdc3169741e (patch) | |
tree | e9e40a0dc454e368e22d2088ab0cf171972af85f /configure.ac | |
parent | 8ca036d4716fc86ff42474ba35d3cd32f0188a15 (diff) | |
download | cpython-git-6ccdad7b1f6fb316e4e85aa1eba8fbdc3169741e.tar.gz |
bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (GH-5284) (#5295)
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.
(cherry picked from commit e768c86ef442ef89004089a8a34ce5909ffb90f2)
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 7243de205b..c645340216 100644 --- a/configure.ac +++ b/configure.ac @@ -1690,7 +1690,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 poll.h process.h pthread.h \ shadow.h signal.h stdint.h stropts.h termios.h thread.h \ |