From fd9b2358f26f01d769a76b278021c74383123832 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. --- src/lib/libcrypto/arc4random/getentropy_linux.c | 3 +-- src/lib/libcrypto/crypto/getentropy_linux.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/libcrypto/arc4random/getentropy_linux.c b/src/lib/libcrypto/arc4random/getentropy_linux.c index 4fce68c2..05fb95c4 100644 --- a/src/lib/libcrypto/arc4random/getentropy_linux.c +++ b/src/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/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c index 4fce68c2..05fb95c4 100644 --- a/src/lib/libcrypto/crypto/getentropy_linux.c +++ b/src/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