Skip to content

Commit 8d9b90a

Browse files
committed
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: 6e68ccb #24356 82d360b #21387
1 parent 626d346 commit 8d9b90a

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/net.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,12 @@
3737

3838
#ifdef WIN32
3939
#include <string.h>
40-
#else
41-
#include <fcntl.h>
4240
#endif
4341

4442
#if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS
4543
#include <ifaddrs.h>
4644
#endif
4745

48-
#ifdef USE_POLL
49-
#include <poll.h>
50-
#endif
51-
5246
#include <algorithm>
5347
#include <array>
5448
#include <cstdint>

src/netbase.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
#include <limits>
2222
#include <memory>
2323

24-
#ifndef WIN32
25-
#include <fcntl.h>
26-
#endif
27-
28-
#ifdef USE_POLL
29-
#include <poll.h>
30-
#endif
31-
3224
// Settings
3325
static GlobalMutex g_proxyinfo_mutex;
3426
static Proxy proxyInfo[NET_MAX] GUARDED_BY(g_proxyinfo_mutex);

0 commit comments

Comments
 (0)