git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
686e92e
)
All of them comes from compat.h via netbase.h
323/head
author
svost
<ya.nowa@yandex.ru>
Tue, 19 Apr 2016 18:26:29 +0000 (21:26 +0300)
committer
svost
<ya.nowa@yandex.ru>
Tue, 19 Apr 2016 18:26:29 +0000 (21:26 +0300)
src/ntp.cpp
patch
|
blob
|
history
src/stun.cpp
patch
|
blob
|
history
diff --git
a/src/ntp.cpp
b/src/ntp.cpp
index
58fcc7d
..
4bebe19
100644
(file)
--- a/
src/ntp.cpp
+++ b/
src/ntp.cpp
@@
-1,19
+1,9
@@
-#ifdef WIN32
-#include <winsock2.h>
-#else
-#include <sys/socket.h>
-#include <sys/time.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#endif
#ifndef WIN32
#include <unistd.h>
#endif
#include "netbase.h"
#include "net.h"
-//#include "util.h"
#include "ui_interface.h"
extern int GetRandInt(int nMax);
diff --git
a/src/stun.cpp
b/src/stun.cpp
index
4a2d90c
..
4a34a8c
100644
(file)
--- a/
src/stun.cpp
+++ b/
src/stun.cpp
@@
-34,14
+34,6
@@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-#ifdef WIN32
-#include <winsock2.h>
-#else
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#endif
#ifndef WIN32
#include <unistd.h>
#endif