From ca56f3f6841bf723d8b1be709945db0730d67b3e Mon Sep 17 00:00:00 2001 From: bcook Date: Sat, 13 Jun 2015 02:33:58 +0000 Subject: [PATCH] Remove unneeded sys/sysctl.h on linux. This only provides the sysctl wrapper in glibc, which we do not use and is not available in other libc implementations for Linux. Thanks to ncopa from github. --- lib/libcrypto/arc4random/getentropy_linux.c | 3 +-- lib/libcrypto/crypto/getentropy_linux.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libcrypto/arc4random/getentropy_linux.c b/lib/libcrypto/arc4random/getentropy_linux.c index 4fce68c25b3..05fb95c4bb6 100644 --- a/lib/libcrypto/arc4random/getentropy_linux.c +++ b/lib/libcrypto/arc4random/getentropy_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getentropy_linux.c,v 1.38 2015/04/27 03:37:06 bcook Exp $ */ +/* $OpenBSD: getentropy_linux.c,v 1.39 2015/06/13 02:33:58 bcook Exp $ */ /* * Copyright (c) 2014 Theo de Raadt @@ -28,7 +28,6 @@ #include #include #ifdef SYS__sysctl -#include #include #endif #include diff --git a/lib/libcrypto/crypto/getentropy_linux.c b/lib/libcrypto/crypto/getentropy_linux.c index 4fce68c25b3..05fb95c4bb6 100644 --- a/lib/libcrypto/crypto/getentropy_linux.c +++ b/lib/libcrypto/crypto/getentropy_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getentropy_linux.c,v 1.38 2015/04/27 03:37:06 bcook Exp $ */ +/* $OpenBSD: getentropy_linux.c,v 1.39 2015/06/13 02:33:58 bcook Exp $ */ /* * Copyright (c) 2014 Theo de Raadt @@ -28,7 +28,6 @@ #include #include #ifdef SYS__sysctl -#include #include #endif #include -- 2.20.1