mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-09 07:49:23 -04:00
fixed compilation on windows
This commit is contained in:
parent
87be1e353e
commit
6c4e918b36
1 changed files with 7 additions and 0 deletions
|
@ -26,7 +26,14 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef WINDOWS_SYS
|
||||||
|
#include <windows.h>
|
||||||
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
|
#else
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "util/rsnet.h"
|
#include "util/rsnet.h"
|
||||||
#include "util/rsprint.h"
|
#include "util/rsprint.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue