* dtable.cc: Guard against new winsock.h/winsock2.h warnings when mixing

winsock*.h and sys/types.h.
* fhandler_socket.cc: Ditto.
* net.cc: Ditto.
* select.cc: Ditto.
* exceptions.cc: Remove unneeded define.
This commit is contained in:
Christopher Faylor
2001-03-20 19:50:28 +00:00
parent d17d6d4286
commit a1299ba54b
6 changed files with 14 additions and 6 deletions

View File

@@ -10,7 +10,6 @@ details. */
#define __INSIDE_CYGWIN_NET__
#define Win32_Winsock
#include "winsup.h"
#include <errno.h>
#include <sys/socket.h>
@@ -20,6 +19,7 @@ details. */
#include <fcntl.h>
#include <sys/cygwin.h>
#define USE_SYS_TYPES_FD_SET
#include <winsock.h>
#include "sync.h"
#include "sigproc.h"