summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeoffrey Thomas <geofft@ldpreload.com>2021-07-27 22:58:12 (GMT)
committerGitHub <noreply@github.com>2021-07-27 22:58:12 (GMT)
commit196998e220d6ca030e5a1c8ad63fcaed8e049a98 (patch)
tree6545c196d9a44d85272fac71d1b6cdbac1e6f505 /Modules
parentecc3c8e4216958d85385bf2467441c975128f26c (diff)
downloadcpython-196998e220d6ca030e5a1c8ad63fcaed8e049a98.zip
cpython-196998e220d6ca030e5a1c8ad63fcaed8e049a98.tar.gz
cpython-196998e220d6ca030e5a1c8ad63fcaed8e049a98.tar.bz2
closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394)
Automerge-Triggered-By: GH:benjaminp
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_cryptmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_cryptmodule.c b/Modules/_cryptmodule.c
index a95f55a..72a4f44 100644
--- a/Modules/_cryptmodule.c
+++ b/Modules/_cryptmodule.c
@@ -4,6 +4,9 @@
#include "Python.h"
#include <sys/types.h>
+#ifdef HAVE_CRYPT_H
+#include <crypt.h>
+#endif
/* Module crypt */