aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-02-29 17:54:04 +0800
committerfanquake <fanquake@gmail.com>2020-02-29 18:08:11 +0800
commit715dbbe9e8b64fd4b556a0b0720b44d68c3b5e32 (patch)
tree7a8e130e623ef2e95f5e49b4654d1a2f83826090 /src
parent902796093235083c23df10c1c45f80d89a93b2ab (diff)
parentd36146009fb3fc9b9a772823b4df139a85173481 (diff)
downloadbitcoin-715dbbe9e8b64fd4b556a0b0720b44d68c3b5e32.tar.xz
Merge #18229: random: drop unused MACH time headers
d36146009fb3fc9b9a772823b4df139a85173481 Drop unused mach time headers (Ben Woosley) Pull request description: Now that we're no longer special-casing clock usage for MacOS (see #17800), we're not referencing anything defined in these headers. Incidentally, this removes our last reference to the `__MACH__` system def. 🎉 ACKs for top commit: jonasschnelli: utACK d36146009fb3fc9b9a772823b4df139a85173481 fanquake: ACK d36146009fb3fc9b9a772823b4df139a85173481 - thanks. Tree-SHA512: 246045b0683a705ad034416e8ace2024e652026a6c0517b6797320e52fc18a6e111ec2e405ca40653bd1d6421bb7755232e8fec22651fff8e448eb7d5646a954
Diffstat (limited to 'src')
-rw-r--r--src/randomenv.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/randomenv.cpp b/src/randomenv.cpp
index 27f5b1b082..8b3d478529 100644
--- a/src/randomenv.cpp
+++ b/src/randomenv.cpp
@@ -38,11 +38,6 @@
#include <sys/utsname.h>
#include <unistd.h>
#endif
-#ifdef __MACH__
-#include <mach/clock.h>
-#include <mach/mach.h>
-#include <mach/mach_time.h>
-#endif
#if HAVE_DECL_GETIFADDRS
#include <ifaddrs.h>
#endif