* 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:
parent
d15bce48e7
commit
9fccd63bc3
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user