[Python-checkins] cpython: Attempt to address Windows buildbot failures
nick.coghlan
python-checkins at python.org
Mon Aug 22 07:45:37 CEST 2011
http://hg.python.org/cpython/rev/9fc5231c36e0
changeset: 72030:9fc5231c36e0
user: Nick Coghlan <ncoghlan at gmail.com>
date: Mon Aug 22 15:45:19 2011 +1000
summary:
Attempt to address Windows buildbot failures
files:
Modules/socketmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -263,7 +263,6 @@
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
-#include <unistd.h>
/* Generic socket object definitions and includes */
#define PySocket_BUILDING_SOCKET
@@ -275,6 +274,7 @@
/* Non-MS WINDOWS includes */
# include <netdb.h>
+# include <unistd.h>
/* Headers needed for inet_ntoa() and inet_addr() */
# if defined(PYOS_OS2) && defined(PYCC_VACPP)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list