summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2015-03-22 13:28:03 +0000
committerbcook <bcook@openbsd.org>2015-03-22 13:28:03 +0000
commita2dce8d0a96bb45cee0f15a9277e47cfbb1dcdf3 (patch)
treece80d97399d7ceeb4ef8b726adcaa5dcad6f8b8e
parentDo the right thing in qec_fix_range() when connected to an sbus(4) without (diff)
downloadwireguard-openbsd-a2dce8d0a96bb45cee0f15a9277e47cfbb1dcdf3.tar.xz
wireguard-openbsd-a2dce8d0a96bb45cee0f15a9277e47cfbb1dcdf3.zip
sys/sysctl.h includes linux/sysctl.h, remove the extra unchecked include
-rw-r--r--lib/libcrypto/arc4random/getentropy_linux.c3
-rw-r--r--lib/libcrypto/crypto/getentropy_linux.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcrypto/arc4random/getentropy_linux.c b/lib/libcrypto/arc4random/getentropy_linux.c
index 37e03ed590d..29e7efe234a 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.36 2014/10/11 16:44:05 bcook Exp $ */
+/* $OpenBSD: getentropy_linux.c,v 1.37 2015/03/22 13:28:03 bcook Exp $ */
/*
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -51,7 +51,6 @@
#include <linux/types.h>
#include <linux/random.h>
-#include <linux/sysctl.h>
#ifdef HAVE_GETAUXVAL
#include <sys/auxv.h>
#endif
diff --git a/lib/libcrypto/crypto/getentropy_linux.c b/lib/libcrypto/crypto/getentropy_linux.c
index 37e03ed590d..29e7efe234a 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.36 2014/10/11 16:44:05 bcook Exp $ */
+/* $OpenBSD: getentropy_linux.c,v 1.37 2015/03/22 13:28:03 bcook Exp $ */
/*
* Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -51,7 +51,6 @@
#include <linux/types.h>
#include <linux/random.h>
-#include <linux/sysctl.h>
#ifdef HAVE_GETAUXVAL
#include <sys/auxv.h>
#endif