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
1 changed files with 3 additions and 0 deletions

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