summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/arc4random_uniform.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2019-01-20 02:59:07 +0000
committerbcook <bcook@openbsd.org>2019-01-20 02:59:07 +0000
commit9ed5ae4620311e867b76fec690dad73fdec79512 (patch)
treea74385bd38ca1dab9865ac36bf5bd914db8c8c7f /lib/libc/crypt/arc4random_uniform.c
parentAdd some internal consistency checks to the handshake state handling. (diff)
downloadwireguard-openbsd-9ed5ae4620311e867b76fec690dad73fdec79512.tar.xz
wireguard-openbsd-9ed5ae4620311e867b76fec690dad73fdec79512.zip
include stdint.h over sys/types.h
ok deraadt@ tedu@
Diffstat (limited to 'lib/libc/crypt/arc4random_uniform.c')
-rw-r--r--lib/libc/crypt/arc4random_uniform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/crypt/arc4random_uniform.c b/lib/libc/crypt/arc4random_uniform.c
index 23a15e34fd5..a18b5b12381 100644
--- a/lib/libc/crypt/arc4random_uniform.c
+++ b/lib/libc/crypt/arc4random_uniform.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random_uniform.c,v 1.2 2015/09/13 08:31:47 guenther Exp $ */
+/* $OpenBSD: arc4random_uniform.c,v 1.3 2019/01/20 02:59:07 bcook Exp $ */
/*
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
+#include <stdint.h>
#include <stdlib.h>
/*