From 8d9b90a61e3a2a451abfce25328d13aa1e8f749b Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Tue, 25 Apr 2023 15:32:30 -0500 Subject: [PATCH] Remove now-unnecessary poll, fcntl includes from net(base).cpp As far as I can tell, the code calling for these includes was removed in: 6e68ccbefea6509c61fc4405a391a517c6057bb0 #24356 82d360b5a88d9057b6c09b61cd69e426c7a2412d #21387 --- src/net.cpp | 6 ------ src/netbase.cpp | 8 -------- 2 files changed, 14 deletions(-) diff --git a/src/net.cpp b/src/net.cpp index 3cd06f44d6..9967e14d5d 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -37,18 +37,12 @@ #ifdef WIN32 #include -#else -#include #endif #if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS #include #endif -#ifdef USE_POLL -#include -#endif - #include #include #include diff --git a/src/netbase.cpp b/src/netbase.cpp index 8f6f92ea7d..a8419217f4 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -21,14 +21,6 @@ #include #include -#ifndef WIN32 -#include -#endif - -#ifdef USE_POLL -#include -#endif - // Settings static GlobalMutex g_proxyinfo_mutex; static Proxy proxyInfo[NET_MAX] GUARDED_BY(g_proxyinfo_mutex);