include: Try to avoid socklen_t redefinition in winsock.h.

oldstable
Alexandre Julliard 2009-03-31 12:19:03 +02:00
parent 65e71259df
commit a6aa7771d3
1 changed files with 2 additions and 0 deletions

View File

@ -79,12 +79,14 @@
# define fd_set unix_fd_set
# define timeval unix_timeval
# define select unix_select
# define socklen_t unix_socklen_t
# include <sys/types.h>
# include <time.h>
# include <stdlib.h>
# undef fd_set
# undef timeval
# undef select
# undef socklen_t
# undef FD_SETSIZE
# undef FD_CLR
# undef FD_SET