diff options
author | 2015-06-13 02:33:58 +0000 | |
---|---|---|
committer | 2015-06-13 02:33:58 +0000 | |
commit | ca56f3f6841bf723d8b1be709945db0730d67b3e (patch) | |
tree | 2172e42332f6ef75e08b3edd2532bfdd1ece526e | |
parent | Add a missing .An macro. (diff) | |
download | wireguard-openbsd-ca56f3f6841bf723d8b1be709945db0730d67b3e.tar.xz wireguard-openbsd-ca56f3f6841bf723d8b1be709945db0730d67b3e.zip |
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.
-rw-r--r-- | lib/libcrypto/arc4random/getentropy_linux.c | 3 | ||||
-rw-r--r-- | 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 <deraadt@openbsd.org> @@ -28,7 +28,6 @@ #include <sys/resource.h> #include <sys/syscall.h> #ifdef SYS__sysctl -#include <sys/sysctl.h> #include <linux/sysctl.h> #endif #include <sys/statvfs.h> 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 <deraadt@openbsd.org> @@ -28,7 +28,6 @@ #include <sys/resource.h> #include <sys/syscall.h> #ifdef SYS__sysctl -#include <sys/sysctl.h> #include <linux/sysctl.h> #endif #include <sys/statvfs.h> |