summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/libkern/md5.c5
-rw-r--r--sys/lib/libkern/random.c2
-rw-r--r--sys/lib/libkern/srandom.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/sys/lib/libkern/md5.c b/sys/lib/libkern/md5.c
index 2caf104e410..02e54f8b338 100644
--- a/sys/lib/libkern/md5.c
+++ b/sys/lib/libkern/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.2 1996/04/24 05:28:26 mickey Exp $ */
+/* $OpenBSD: md5.c,v 1.3 1996/08/11 21:05:46 niklas Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff.
@@ -44,7 +44,8 @@
#include <sys/param.h>
#include <sys/types.h>
-#include <sys/kernel.h>
+
+#include <lib/libkern/libkern.h>
/*
* MD5 transform algorithm, taken from code written by Colin Plumb,
diff --git a/sys/lib/libkern/random.c b/sys/lib/libkern/random.c
index 970cbf4bc6c..7fef7c27bb2 100644
--- a/sys/lib/libkern/random.c
+++ b/sys/lib/libkern/random.c
@@ -37,6 +37,8 @@
#include <sys/types.h>
+#include <lib/libkern/libkern.h>
+
/*
* Pseudo-random number generator for randomizing the profiling clock,
* and whatever else we might use it for. The result is uniform on
diff --git a/sys/lib/libkern/srandom.c b/sys/lib/libkern/srandom.c
index 3a88b00fe1d..d1d6ba535dc 100644
--- a/sys/lib/libkern/srandom.c
+++ b/sys/lib/libkern/srandom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: srandom.c,v 1.1 1996/08/10 21:41:16 deraadt Exp $ */
+/* $OpenBSD: srandom.c,v 1.2 1996/08/11 21:05:47 niklas Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,6 +37,8 @@
#include <sys/types.h>
+#include <lib/libkern/libkern.h>
+
extern u_long _randseed;
void