This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]