Skip to content

Commit 715dbbe

Browse files
committed
Merge #18229: random: drop unused MACH time headers
d361460 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 d361460 fanquake: ACK d361460 - thanks. Tree-SHA512: 246045b0683a705ad034416e8ace2024e652026a6c0517b6797320e52fc18a6e111ec2e405ca40653bd1d6421bb7755232e8fec22651fff8e448eb7d5646a954
2 parents 9027960 + d361460 commit 715dbbe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/randomenv.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
#include <sys/utsname.h>
3939
#include <unistd.h>
4040
#endif
41-
#ifdef __MACH__
42-
#include <mach/clock.h>
43-
#include <mach/mach.h>
44-
#include <mach/mach_time.h>
45-
#endif
4641
#if HAVE_DECL_GETIFADDRS
4742
#include <ifaddrs.h>
4843
#endif

0 commit comments

Comments
 (0)