* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h

to avoid circular dependency resulting in bogus compile time warnings.
This commit is contained in:
Corinna Vinschen 2013-05-31 08:40:35 +00:00
parent d15bce48e7
commit 9fccd63bc3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-05-31 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
to avoid circular dependency resulting in bogus compile time warnings.
2013-05-28 Corinna Vinschen <corinna@vinschen.de>
* fhandler_procsys.cc (fhandler_procsys::read): Just call

View File

@ -1,6 +1,6 @@
/* cygwin/if.h
Copyright 1996, 2000, 2001, 2007, 2012 Red Hat, Inc.
Copyright 1996, 2000, 2001, 2007, 2012, 2013 Red Hat, Inc.
This file is part of Cygwin.
@ -16,7 +16,7 @@ extern "C" {
#endif /* __cplusplus */
#include <sys/types.h>
#include <sys/socket.h>
#include <cygwin/socket.h>
/* Standard interface flags. */
#define IFF_UP 0x1 /* interface is up */