summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorbcook <>2015-03-22 13:28:03 +0000
committerbcook <>2015-03-22 13:28:03 +0000
commit079b2af2236fbfabba4c0991950439ac5ff395ac (patch)
tree989ca66c7c1d4e44fe647e6a48af22fbbe144cd0 /src/lib
parenta3234082ca1ac57c73464f00b84478c76802777c (diff)
downloadopenbsd-079b2af2236fbfabba4c0991950439ac5ff395ac.tar.gz
openbsd-079b2af2236fbfabba4c0991950439ac5ff395ac.tar.bz2
openbsd-079b2af2236fbfabba4c0991950439ac5ff395ac.zip
sys/sysctl.h includes linux/sysctl.h, remove the extra unchecked include
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/arc4random/getentropy_linux.c3
-rw-r--r--src/lib/libcrypto/crypto/getentropy_linux.c3
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 37e03ed590..29e7efe234 100644
--- a/src/lib/libcrypto/arc4random/getentropy_linux.c
+++ b/src/lib/libcrypto/arc4random/getentropy_linux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_linux.c,v 1.36 2014/10/11 16:44:05 bcook Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.37 2015/03/22 13:28:03 bcook Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> 4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -51,7 +51,6 @@
51 51
52#include <linux/types.h> 52#include <linux/types.h>
53#include <linux/random.h> 53#include <linux/random.h>
54#include <linux/sysctl.h>
55#ifdef HAVE_GETAUXVAL 54#ifdef HAVE_GETAUXVAL
56#include <sys/auxv.h> 55#include <sys/auxv.h>
57#endif 56#endif
diff --git a/src/lib/libcrypto/crypto/getentropy_linux.c b/src/lib/libcrypto/crypto/getentropy_linux.c
index 37e03ed590..29e7efe234 100644
--- a/src/lib/libcrypto/crypto/getentropy_linux.c
+++ b/src/lib/libcrypto/crypto/getentropy_linux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getentropy_linux.c,v 1.36 2014/10/11 16:44:05 bcook Exp $ */ 1/* $OpenBSD: getentropy_linux.c,v 1.37 2015/03/22 13:28:03 bcook Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> 4 * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org>
@@ -51,7 +51,6 @@
51 51
52#include <linux/types.h> 52#include <linux/types.h>
53#include <linux/random.h> 53#include <linux/random.h>
54#include <linux/sysctl.h>
55#ifdef HAVE_GETAUXVAL 54#ifdef HAVE_GETAUXVAL
56#include <sys/auxv.h> 55#include <sys/auxv.h>
57#endif 56#endif