Index: Modules/socketmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v retrieving revision 1.268 diff -c -r1.268 socketmodule.c *** Modules/socketmodule.c 10 May 2003 07:36:55 -0000 1.268 --- Modules/socketmodule.c 21 May 2003 23:27:41 -0000 *************** *** 190,196 **** functions are declared correctly if compiling with MIPSPro 7.x in ANSI C mode (default) */ #define _SGIAPI 1 ! #include "netdb.h" #endif /* Generic includes */ --- 190,202 ---- functions are declared correctly if compiling with MIPSPro 7.x in ANSI C mode (default) */ #define _SGIAPI 1 ! /* This is necessary to get the the definition for INET_ADDRSTRLEN. */ ! #define INET6 ! #include ! /* These really exist, but we can't get these through congfigure ! without creating other problems because SGI will hide other defs. */ ! #define HAVE_INET_PTON 1 ! #define HAVE_INET_ATON 1 #endif /* Generic includes */