summaryrefslogtreecommitdiff
path: root/Modules/errnomodule.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-13 00:42:22 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-13 00:42:22 +0000
commite000b21702037201b0ed91b4593ec81da6e7b1a6 (patch)
tree82cb9fd11e31e5d435ba590b521540414dcab336 /Modules/errnomodule.c
parente3d5374b2800a568d45f03c88a786a875db54bed (diff)
downloadcpython-e000b21702037201b0ed91b4593ec81da6e7b1a6.tar.gz
Restore support for Microsoft VC6 compiler.
Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler)
Diffstat (limited to 'Modules/errnomodule.c')
-rw-r--r--Modules/errnomodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c
index 696d396b07..642d721678 100644
--- a/Modules/errnomodule.c
+++ b/Modules/errnomodule.c
@@ -5,7 +5,7 @@
/* Windows socket errors (WSA*) */
#ifdef MS_WINDOWS
-#include <winsock.h>
+#include <windows.h>
#endif
/*