summaryrefslogtreecommitdiffstats
path: root/Modules/_codecsmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-10 19:05:55 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-10 19:05:55 (GMT)
commit87a7c825f0dee9861d135bd5373c3f0054cb4a2e (patch)
tree57fa054984f94aa10000c5ec8ded16aa877cdb0c /Modules/_codecsmodule.c
parent10b8cf4455f48eba93077535e4d03eba2ee4bbfb (diff)
downloadcpython-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.c4
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__,