From 4fc5365e7195368958ebf4ee7bdaf7a2cb8ae258 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 10 Jan 2022 17:42:16 -0500 Subject: No need for a conditional here --- src/lib/entropy/getentropy/getentropy.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/entropy') diff --git a/src/lib/entropy/getentropy/getentropy.cpp b/src/lib/entropy/getentropy/getentropy.cpp index e255bbd52..e2a42f26d 100644 --- a/src/lib/entropy/getentropy/getentropy.cpp +++ b/src/lib/entropy/getentropy/getentropy.cpp @@ -10,10 +10,7 @@ #if defined(BOTAN_TARGET_OS_IS_OPENBSD) || defined(BOTAN_TARGET_OS_IS_FREEBSD) || defined(BOTAN_TARGET_OS_IS_SOLARIS) #include #else - #if defined(BOTAN_TARGET_OS_HAS_POSIX1) - // Allows successful compilation on macOS older than 10.12: Provides a missing typedef for `u_int`. - #include - #endif + #include // older macOS needs this before sys/random.h #include #endif -- cgit v1.2.3