Add include of <sys/param.h>, to allow vax kernels to build again.
For vax, this causes <machine/macros.h> to be included and the redefine of memset() to take effect.
This commit is contained in:
parent
a9c18abc6e
commit
80b96f1aa4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rmd160.c,v 1.1 2006/10/27 21:23:16 christos Exp $ */
|
||||
/* $NetBSD: rmd160.c,v 1.2 2006/11/01 11:29:08 he Exp $ */
|
||||
/* $KAME: rmd160.c,v 1.2 2003/07/25 09:37:55 itojun Exp $ */
|
||||
/* $OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $ */
|
||||
/*
|
||||
|
@ -33,14 +33,14 @@
|
|||
#include <sys/cdefs.h>
|
||||
|
||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||
__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.2 2006/11/01 11:29:08 he Exp $");
|
||||
|
||||
#include <lib/libkern/libkern.h>
|
||||
|
||||
#else
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: rmd160.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
||||
__RCSID("$NetBSD: rmd160.c,v 1.2 2006/11/01 11:29:08 he Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -50,6 +50,7 @@ __RCSID("$NetBSD: rmd160.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
|||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/rmd160.h>
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sha2.c,v 1.1 2006/10/27 21:23:16 christos Exp $ */
|
||||
/* $NetBSD: sha2.c,v 1.2 2006/11/01 11:29:08 he Exp $ */
|
||||
/* $KAME: sha2.c,v 1.9 2003/07/20 00:28:38 itojun Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -39,14 +39,14 @@
|
|||
#include <sys/cdefs.h>
|
||||
|
||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||
__KERNEL_RCSID(0, "$NetBSD: sha2.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sha2.c,v 1.2 2006/11/01 11:29:08 he Exp $");
|
||||
|
||||
#include <lib/libkern/libkern.h>
|
||||
|
||||
#else
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: sha2.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
||||
__RCSID("$NetBSD: sha2.c,v 1.2 2006/11/01 11:29:08 he Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -56,6 +56,7 @@ __RCSID("$NetBSD: sha2.c,v 1.1 2006/10/27 21:23:16 christos Exp $");
|
|||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/sha2.h>
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue