Add definition of socklen_t so that socketmodule.c will compile on Windows.

This commit is contained in:
Guido van Rossum 2000-04-24 15:37:34 +00:00
parent ff3ab42c04
commit db575db0d6

View file

@ -308,6 +308,9 @@ typedef int pid_t;
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> doesn't define. */
#define socklen_t int
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1