2018-03-27 17:25:47 +00:00
|
|
|
diff --git a/pypy/module/crypt/interp_crypt.py b/pypy/module/crypt/interp_crypt.py
|
2019-02-28 23:07:40 +00:00
|
|
|
index bd13f6f..1022c9e 100644
|
2018-03-27 17:25:47 +00:00
|
|
|
--- a/pypy/module/crypt/interp_crypt.py
|
|
|
|
+++ b/pypy/module/crypt/interp_crypt.py
|
2019-02-28 23:07:40 +00:00
|
|
|
@@ -9,7 +9,7 @@ elif sys.platform.startswith('linux'):
|
|
|
|
# crypt() is defined only in crypt.h on some Linux variants (eg. Fedora 28)
|
|
|
|
eci = ExternalCompilationInfo(libraries=['crypt'], includes=["crypt.h"])
|
2018-03-27 17:25:47 +00:00
|
|
|
else:
|
|
|
|
- eci = ExternalCompilationInfo(libraries=['crypt'])
|
|
|
|
+ eci = ExternalCompilationInfo(libraries=['crypt'], includes=['crypt.h'])
|
|
|
|
c_crypt = rffi.llexternal('crypt', [rffi.CCHARP, rffi.CCHARP], rffi.CCHARP,
|
|
|
|
compilation_info=eci, releasegil=False)
|
|
|
|
|