diff options
author | 2019-01-20 03:53:47 +0000 | |
---|---|---|
committer | 2019-01-20 03:53:47 +0000 | |
commit | 3b0580949c6bd0eec32e174b36a29de27ed65bdd (patch) | |
tree | 62042d513bae1f80f9a1b013a715a13e6948488c /lib/libc | |
parent | don't reuse global between functions; the value is wrong. (diff) | |
download | wireguard-openbsd-3b0580949c6bd0eec32e174b36a29de27ed65bdd.tar.xz wireguard-openbsd-3b0580949c6bd0eec32e174b36a29de27ed65bdd.zip |
use standard headers for siphash
ok tedu@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/hash/siphash.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/hash/siphash.c b/lib/libc/hash/siphash.c index 621d1b5b7a8..9b6a0b9fa8a 100644 --- a/lib/libc/hash/siphash.c +++ b/lib/libc/hash/siphash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siphash.c,v 1.7 2017/12/25 02:11:19 tedu Exp $ */ +/* $OpenBSD: siphash.c,v 1.8 2019/01/20 03:53:47 bcook Exp $ */ /*- * Copyright (c) 2013 Andre Oppermann <andre@FreeBSD.org> @@ -43,9 +43,8 @@ * https://131002.net/siphash/ */ -#include <sys/types.h> -#include <sys/endian.h> - +#include <endian.h> +#include <stdint.h> #include <string.h> #include <siphash.h> |