Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/hash/murmurhash add now required includes fo...
details: https://anonhg.NetBSD.org/src/rev/f6ca4a270c51
branches: trunk
changeset: 459020:f6ca4a270c51
user: para <para%NetBSD.org@localhost>
date: Tue Aug 20 15:17:02 2019 +0000
description:
add now required includes for memcpy prototypes analogue to other hash functions
(fix the build)
diffstat:
common/lib/libc/hash/murmurhash/murmurhash.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r dcaf3bef1e2f -r f6ca4a270c51 common/lib/libc/hash/murmurhash/murmurhash.c
--- a/common/lib/libc/hash/murmurhash/murmurhash.c Tue Aug 20 14:26:05 2019 +0000
+++ b/common/lib/libc/hash/murmurhash/murmurhash.c Tue Aug 20 15:17:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: murmurhash.c,v 1.7 2019/08/20 12:33:26 riastradh Exp $ */
+/* $NetBSD: murmurhash.c,v 1.8 2019/08/20 15:17:02 para Exp $ */
/*
* MurmurHash2 -- from the original code:
@@ -14,15 +14,19 @@
#include <sys/cdefs.h>
#if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: murmurhash.c,v 1.7 2019/08/20 12:33:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: murmurhash.c,v 1.8 2019/08/20 15:17:02 para Exp $");
+
+#include <lib/libkern/libkern.h>
#else
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: murmurhash.c,v 1.7 2019/08/20 12:33:26 riastradh Exp $");
+__RCSID("$NetBSD: murmurhash.c,v 1.8 2019/08/20 15:17:02 para Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
+#include <string.h>
+
#endif
#include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index