diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-10 19:05:55 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-10 19:05:55 (GMT) |
commit | 87a7c825f0dee9861d135bd5373c3f0054cb4a2e (patch) | |
tree | 57fa054984f94aa10000c5ec8ded16aa877cdb0c /Modules/_codecsmodule.c | |
parent | 10b8cf4455f48eba93077535e4d03eba2ee4bbfb (diff) | |
download | cpython-87a7c825f0dee9861d135bd5373c3f0054cb4a2e.zip cpython-87a7c825f0dee9861d135bd5373c3f0054cb4a2e.tar.gz cpython-87a7c825f0dee9861d135bd5373c3f0054cb4a2e.tar.bz2 |
Fix build on Windows
Diffstat (limited to 'Modules/_codecsmodule.c')
-rw-r--r-- | Modules/_codecsmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 61e5516..727cf5e 100644 --- a/Modules/_codecsmodule.c +++ b/Modules/_codecsmodule.c @@ -38,6 +38,10 @@ Copyright (c) Corporation for National Research Initiatives. #define PY_SSIZE_T_CLEAN #include "Python.h" +#ifdef MS_WINDOWS +#include <windows.h> +#endif + /* --- Registry ----------------------------------------------------------- */ PyDoc_STRVAR(register__doc__, |