mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #564 from PhenomRetroShare/Fix_WindowsCompil
Fix windows compile with sys/socket.h
This commit is contained in:
commit
ae8fc61c59
@ -26,7 +26,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/socket.h>
|
||||
/* get OS-specific definitions for:
|
||||
* struct sockaddr_storage
|
||||
*/
|
||||
#ifndef WINDOWS_SYS
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "retroshare/rspeers.h"
|
||||
|
||||
class p3LinkMgr;
|
||||
|
@ -26,7 +26,14 @@
|
||||
#include "ui_ServerPage.h"
|
||||
#include "RsAutoUpdatePage.h"
|
||||
#include <inttypes.h>
|
||||
#include <sys/socket.h>
|
||||
/* get OS-specific definitions for:
|
||||
* struct sockaddr_storage
|
||||
*/
|
||||
#ifndef WINDOWS_SYS
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
class QNetworkReply;
|
||||
class QNetworkAccessManager;
|
||||
|
@ -24,7 +24,14 @@
|
||||
|
||||
#include <QString>
|
||||
#include <inttypes.h>
|
||||
#include <sys/socket.h>
|
||||
/* get OS-specific definitions for:
|
||||
* struct sockaddr_storage
|
||||
*/
|
||||
#ifndef WINDOWS_SYS
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
class RsNetUtil
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user