From: Victor Stinner Date: Thu, 10 Nov 2011 19:05:55 +0000 (+0100) Subject: Fix build on Windows X-Git-Tag: v3.3.0a1~885 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87a7c825f0dee9861d135bd5373c3f0054cb4a2e;p=thirdparty%2FPython%2Fcpython.git Fix build on Windows --- diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 61e5516f0cbf..727cf5e77a3b 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 +#endif + /* --- Registry ----------------------------------------------------------- */ PyDoc_STRVAR(register__doc__,