Check for _STANDALONE as well as _KERNEL to make it compile again. Fold
some includes together in one #if as a result of this.
This commit is contained in:
parent
78094a09f1
commit
50217a8b50
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md5c.c,v 1.4 1999/02/04 05:36:36 explorer Exp $ */
|
||||
/* $NetBSD: md5c.c,v 1.5 1999/02/04 15:26:42 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
* This file is derived from the RSA Data Security, Inc. MD5 Message-Digest
|
||||
@ -29,17 +29,13 @@
|
||||
* documentation and/or software.
|
||||
*/
|
||||
|
||||
#if !defined(_KERNEL)
|
||||
#include "namespace.h"
|
||||
#include <sys/types.h>
|
||||
#else
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/md5.h>
|
||||
#else
|
||||
#include "namespace.h"
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <md5.h>
|
||||
#endif /* _KERNEL || _STANDALONE */
|
||||
|
Loading…
Reference in New Issue
Block a user