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-2.7.11/Modules/cryptmodule.c ./Modules/cryptmodule.c
--- ../Python-2.7.11/Modules/cryptmodule.c 2015-12-05 14:47:14.000000000 -0500
+++ ./Modules/cryptmodule.c 2016-04-23 08:16:39.850613791 -0400
@@ -4,6 +4,7 @@
#include "Python.h"
#include <sys/types.h>
+#include <crypt.h>
#ifdef __VMS
#include <openssl/des.h>