blob: fd756eabee20a3c00b958dd320be3b60fbbf2b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-src_lib_md5c.c,v 1.1 2015/10/15 13:15:50 joerg Exp $
--- src/lib/md5c.c.orig 2015-09-12 21:01:19.530772945 +0000
+++ src/lib/md5c.c
@@ -33,17 +33,10 @@
#include <config.h>
#endif
-#if defined(_KERNEL) || defined(_STANDALONE)
-#include <lib/libkern/libkern.h>
-#include <sys/param.h>
-#include <sys/md5.h>
-#define _DIAGASSERT(x) (void)0
-#else
/* #include "namespace.h" */
#include <assert.h>
#include <string.h>
#include "iscsi-md5.h"
-#endif /* _KERNEL || _STANDALONE */
#if defined(HAVE_MEMSET)
#define ZEROIZE(d, l) memset((d), 0, (l))
|