diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2011-08-22 05:45:19 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2011-08-22 05:45:19 (GMT) |
commit | 4ecf6cfc202c035a1d9cfdbf0913c0b1f0f89955 (patch) | |
tree | f9fac9e3a5f4b3956baf6b238e09f721330897de /Modules | |
parent | 96fe56abec36d2cb82c56c9ddafea0096f4f6c7e (diff) | |
download | cpython-4ecf6cfc202c035a1d9cfdbf0913c0b1f0f89955.zip cpython-4ecf6cfc202c035a1d9cfdbf0913c0b1f0f89955.tar.gz cpython-4ecf6cfc202c035a1d9cfdbf0913c0b1f0f89955.tar.bz2 |
Attempt to address Windows buildbot failures
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 75cde79..81d1ce1 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -263,7 +263,6 @@ if_indextoname(index) -- return the corresponding interface name\n\ #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 @@ if_indextoname(index) -- return the corresponding interface name\n\ /* 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) |