[newlib-cygwin] cygwin: remove inclusion of <sys/time.h> from <sys/socket.h>

Yaakov Selkowitz yselkowitz@sourceware.org
Fri Jan 19 18:08:00 GMT 2018


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

commit fa47495755489a0807104a2a7c7347f57dc5d1f1
Author: Yaakov Selkowitz <yselkowi@redhat.com>
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 <yselkowi@redhat.com>

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"



More information about the Cygwin-cvs mailing list