Module Name: src Committed By: para Date: Tue Aug 20 15:17:02 UTC 2019
Modified Files: src/common/lib/libc/hash/murmurhash: murmurhash.c Log Message: add now required includes for memcpy prototypes analogue to other hash functions (fix the build) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/hash/murmurhash/murmurhash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/hash/murmurhash/murmurhash.c diff -u src/common/lib/libc/hash/murmurhash/murmurhash.c:1.7 src/common/lib/libc/hash/murmurhash/murmurhash.c:1.8 --- src/common/lib/libc/hash/murmurhash/murmurhash.c:1.7 Tue Aug 20 12:33:26 2019 +++ src/common/lib/libc/hash/murmurhash/murmurhash.c Tue Aug 20 15:17:02 2019 @@ -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>