Gerald Pfeifer : winhttp: Include <sys/socket.h> from winhttp_private.h. Remove now redundant inclusion from request.c.
Alexandre Julliard
julliard at winehq.org
Mon Aug 3 11:13:23 CDT 2009
Module: wine
Branch: master
Commit: 8c189d78ee52dae5725a9608d795a69b11de1f67
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c189d78ee52dae5725a9608d795a69b11de1f67
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Jul 25 18:57:18 2009 +0200
winhttp: Include <sys/socket.h> from winhttp_private.h. Remove now redundant inclusion from request.c.
---
dlls/winhttp/request.c | 3 ---
dlls/winhttp/winhttp_private.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 0efada4..0d179a4 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -27,9 +27,6 @@
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#include "windef.h"
#include "winbase.h"
diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h
index 83df0c0..e445109 100644
--- a/dlls/winhttp/winhttp_private.h
+++ b/dlls/winhttp/winhttp_private.h
@@ -27,6 +27,9 @@
#include "wine/unicode.h"
#include <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
More information about the wine-cvs
mailing list