aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-22 18:41:39 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-22 21:45:20 +0300
commitf796f0057bc7dad8e7065831b07f432fc0fb9f08 (patch)
tree801704b3b043a4f6c0ef6830c1f0b1b8ab358e85
parent467c34644861a5267601255650e27c7aadab31dc (diff)
downloadbitcoin-f796f0057bc7dad8e7065831b07f432fc0fb9f08.tar.xz
net: Drop unneeded headers when compat.h included
-rw-r--r--src/httpserver.cpp7
-rw-r--r--src/net.h5
2 files changed, 0 insertions, 12 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index 1e5ea2de83..0a8e58ab67 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -33,13 +33,6 @@
#include <support/events.h>
-#ifdef EVENT__HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#ifdef _XOPEN_SOURCE_EXTENDED
-#include <arpa/inet.h>
-#endif
-#endif
-
/** Maximum size of http request (request line + headers) */
static const size_t MAX_HEADERS_SIZE = 8192;
diff --git a/src/net.h b/src/net.h
index 2652d82ea0..caa2ef6526 100644
--- a/src/net.h
+++ b/src/net.h
@@ -33,11 +33,6 @@
#include <memory>
#include <condition_variable>
-#ifndef WIN32
-#include <arpa/inet.h>
-#endif
-
-
class CScheduler;
class CNode;
class BanMan;