diff options
author | 2014-10-11 16:44:05 +0000 | |
---|---|---|
committer | 2014-10-11 16:44:05 +0000 | |
commit | 2ce34de7fc1e86110464399e90c8080ed631c9f2 (patch) | |
tree | 64ba756836ef01cb8bf3cb181ae9aedd3d667c81 /lib/libcrypto/crypto | |
parent | resurrect a many year old diff. move CPU throttling into the kernel, (diff) | |
download | wireguard-openbsd-2ce34de7fc1e86110464399e90c8080ed631c9f2.tar.xz wireguard-openbsd-2ce34de7fc1e86110464399e90c8080ed631c9f2.zip |
include header needed by older linux kernels
not all versions of <linux/random.h> include <linux/types.h> by default
Diffstat (limited to 'lib/libcrypto/crypto')
-rw-r--r-- | lib/libcrypto/crypto/getentropy_linux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/crypto/getentropy_linux.c b/lib/libcrypto/crypto/getentropy_linux.c index 4e1a267931d..37e03ed590d 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.35 2014/08/28 01:00:57 bcook Exp $ */ +/* $OpenBSD: getentropy_linux.c,v 1.36 2014/10/11 16:44:05 bcook Exp $ */ /* * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> @@ -49,6 +49,7 @@ #include <time.h> #include <openssl/sha.h> +#include <linux/types.h> #include <linux/random.h> #include <linux/sysctl.h> #ifdef HAVE_GETAUXVAL |