https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fa47495755489a0807104a2a7c7347f57dc5d1f1

commit fa47495755489a0807104a2a7c7347f57dc5d1f1
Author: Yaakov Selkowitz <[email protected]>
Date:   Fri Jan 19 12:06:00 2018 -0600

    cygwin: remove inclusion of <sys/time.h> from <sys/socket.h>
    
    POSIX does not mention the inclusion of <sys/time.h> in <sys/socket.h>
    or <netinet/in.h>, nor is there anything in the latter two that would
    require the former.
    
    Signed-off-by: Yaakov Selkowitz <[email protected]>

Diff:
---
 winsup/cygwin/include/sys/socket.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/winsup/cygwin/include/sys/socket.h 
b/winsup/cygwin/include/sys/socket.h
index 9e897a9..e6b92ee 100644
--- a/winsup/cygwin/include/sys/socket.h
+++ b/winsup/cygwin/include/sys/socket.h
@@ -11,7 +11,6 @@ details. */
 
 #include <features.h>
 #include <cygwin/socket.h>
-#include <sys/time.h>
 
 #ifdef __cplusplus
 extern "C"

Reply via email to