summaryrefslogtreecommitdiff
path: root/other/DHT_bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/DHT_bootstrap.c')
-rw-r--r--other/DHT_bootstrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index deecda87..f795482b 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -7,15 +7,15 @@
7 * 7 *
8 * gcc -O2 -Wall -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c -lsodium DHT_bootstrap.c 8 * gcc -O2 -Wall -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c -lsodium DHT_bootstrap.c
9 */ 9 */
10#include <arpa/inet.h>
11#include "../core/DHT.h"
12 10
11#include "../core/DHT.h"
13 12
14//Sleep function (x = milliseconds) 13//Sleep function (x = milliseconds)
15#ifdef WIN32 14#ifdef WIN32
16#define c_sleep(x) Sleep(1*x) 15#define c_sleep(x) Sleep(1*x)
17#else 16#else
18#include <unistd.h> 17#include <unistd.h>
18#include <arpa/inet.h>
19#define c_sleep(x) usleep(1000*x) 19#define c_sleep(x) usleep(1000*x)
20#endif 20#endif
21 21