commit | 87a7c825f0dee9861d135bd5373c3f0054cb4a2e | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Nov 10 20:05:55 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Nov 10 20:05:55 2011 +0100 |
tree | 57fa054984f94aa10000c5ec8ded16aa877cdb0c | |
parent | 10b8cf4455f48eba93077535e4d03eba2ee4bbfb [diff] [blame] |
Fix build on Windows
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 @@ #define PY_SSIZE_T_CLEAN #include "Python.h" +#ifdef MS_WINDOWS +#include <windows.h> +#endif + /* --- Registry ----------------------------------------------------------- */ PyDoc_STRVAR(register__doc__,