From 87a7c825f0dee9861d135bd5373c3f0054cb4a2e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 10 Nov 2011 20:05:55 +0100 Subject: [PATCH] Fix build on Windows --- Modules/_codecsmodule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 61e5516f0c..727cf5e77a 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__, -- 2.50.1