diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-10 01:18:57 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-10 01:18:57 (GMT) |
commit | 2a30cd0ef0673710a1a4e188b50c11026c403b2a (patch) | |
tree | a95d41411e8f7d39a0fa6b6b73f99fc93573d8ea /Modules/cryptmodule.c | |
parent | 4a5fbda66d3132af761e32e164ed398977f51694 (diff) | |
download | cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.zip cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.gz cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.bz2 |
Patch #1516912: improve Modules support for OpenVMS.
Diffstat (limited to 'Modules/cryptmodule.c')
-rw-r--r-- | Modules/cryptmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/cryptmodule.c b/Modules/cryptmodule.c index 050a356..6377f84 100644 --- a/Modules/cryptmodule.c +++ b/Modules/cryptmodule.c @@ -5,6 +5,9 @@ #include <sys/types.h> +#ifdef __VMS +#include <openssl/des.h> +#endif /* Module crypt */ @@ -12,7 +15,9 @@ static PyObject *crypt_crypt(PyObject *self, PyObject *args) { char *word, *salt; +#ifndef __VMS extern char * crypt(const char *, const char *); +#endif if (!PyArg_ParseTuple(args, "ss:crypt", &word, &salt)) { return NULL; |