python: Build a working crypt module (closes #230)

This commit is contained in:
Fredrik Fornwall
2016-04-23 09:03:07 -04:00
parent 493cb5606b
commit f4d0939e17
4 changed files with 26 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
diff -u -r ../Python-3.5.1/Modules/_cryptmodule.c ./Modules/_cryptmodule.c
--- ../Python-3.5.1/Modules/_cryptmodule.c 2015-12-06 20:39:10.000000000 -0500
+++ ./Modules/_cryptmodule.c 2016-04-23 08:11:35.832616854 -0400
@@ -4,6 +4,7 @@
#include "Python.h"
#include <sys/types.h>
+#include <crypt.h>
/* Module crypt */