diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 75cde79ed3f..81d1ce1070f 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 #endif -#include /* 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 +# include /* Headers needed for inet_ntoa() and inet_addr() */ # if defined(PYOS_OS2) && defined(PYCC_VACPP)