From 0c3a7469fbd4ea476051dcc4731a8e07a2aa6329 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sat, 29 Feb 2020 17:54:04 +0800 Subject: [PATCH] Merge #18229: random: drop unused MACH time headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/randomenv.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/randomenv.cpp b/src/randomenv.cpp index 12e268b637..759dfb9dec 100644 --- a/src/randomenv.cpp +++ b/src/randomenv.cpp @@ -38,11 +38,6 @@ #include #include #endif -#ifdef __MACH__ -#include -#include -#include -#endif #if HAVE_DECL_GETIFADDRS #include #endif