[ http://issues.apache.org/jira/browse/XERCESC-1662?page=all ]
Alberto Massari resolved XERCESC-1662.
--------------------------------------
Resolution: Duplicate
See patch attached to XERCESC-1617 to enable WinSock netaccessor
> Compile MinGW : error in UnixHTTPURLInputStream.cpp
> ---------------------------------------------------
>
> Key: XERCESC-1662
> URL: http://issues.apache.org/jira/browse/XERCESC-1662
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.7.0
> Environment: MinGW, Windows 2000, GCC 3.4.2
> Reporter: Clemens v. Mann
> Priority: Minor
>
> Compile - Error :
> UnixHTTPURLInputStream.cpp:30:24: sys/socket.h: No such file or directory
> UnixHTTPURLInputStream.cpp:32:26: netinet/in.h: No such file or directory
> UnixHTTPURLInputStream.cpp:33:25: arpa/inet.h: No such file or directory
> UnixHTTPURLInputStream.cpp:35:19: netdb.h: No such file or directory
> Solution: add/replace MINGW - section
> #ifdef MINGW
> # include <winsock.h>
> #else
> #include <sys/socket.h>
> #if !defined(XML_BEOS)
> #include <netinet/in.h>
> #include <arpa/inet.h>
> #endif
> #include <netdb.h>
> #endif
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]