Blame 009-add-libxcrypt-support.patch

c54059a
diff --git a/pypy/module/crypt/interp_crypt.py b/pypy/module/crypt/interp_crypt.py
c54059a
index d227b6a..da969e6 100644
c54059a
--- a/pypy/module/crypt/interp_crypt.py
c54059a
+++ b/pypy/module/crypt/interp_crypt.py
c54059a
@@ -6,7 +6,7 @@ import sys
c54059a
 if sys.platform.startswith('darwin'):
c54059a
     eci = ExternalCompilationInfo()
c54059a
 else:
c54059a
-    eci = ExternalCompilationInfo(libraries=['crypt'])
c54059a
+    eci = ExternalCompilationInfo(libraries=['crypt'], includes=['crypt.h'])
c54059a
 c_crypt = rffi.llexternal('crypt', [rffi.CCHARP, rffi.CCHARP], rffi.CCHARP,
c54059a
                           compilation_info=eci, releasegil=False)
c54059a