aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-12-27 17:13:51 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-01-03 17:56:21 -0500
commit67ee4ec9015592c8447955356adfcbb1bf473e32 (patch)
treec6c51f412004c64eaced222e369e4b1a95991b4b /src
parent8b3159ef0a912da67c545a3d24f4558f8df866e4 (diff)
net: misc header cleanups
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp2
-rw-r--r--src/netbase.cpp7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 7e16e2382f..66c8539154 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -35,8 +35,6 @@
#include <miniupnpc/upnperrors.h>
#endif
-#include <boost/filesystem.hpp>
-#include <boost/thread.hpp>
#include <math.h>
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 87c7abd7c1..afa3c3b13e 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -16,21 +16,14 @@
#include "util.h"
#include "utilstrencodings.h"
-#ifdef HAVE_GETADDRINFO_A
-#include <netdb.h>
-#endif
#include <atomic>
#ifndef WIN32
-#if HAVE_INET_PTON
-#include <arpa/inet.h>
-#endif
#include <fcntl.h>
#endif
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
#include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith()
-#include <boost/thread.hpp>
#if !defined(HAVE_MSG_NOSIGNAL) && !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0