summaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-11-01 08:56:39 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-11-01 08:56:39 +0000
commitba459bd47264a73952030ce8a25466ccad2f3174 (patch)
tree96425fd61fa6b949e7b2db9e10527d1b772894b6 /sys/crypto
parent79c45f3bf9c897c9884f93cfed2c544727cc59c8 (diff)
downloadsrc-test2-ba459bd47264a73952030ce8a25466ccad2f3174.tar.gz
src-test2-ba459bd47264a73952030ce8a25466ccad2f3174.zip
Notes
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/sha2/sha2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/crypto/sha2/sha2.c b/sys/crypto/sha2/sha2.c
index 0ae7d8467e49..8740fbba11b3 100644
--- a/sys/crypto/sha2/sha2.c
+++ b/sys/crypto/sha2/sha2.c
@@ -39,7 +39,11 @@
#include <sys/types.h>
#include <sys/time.h>
+#ifdef _KERNEL
#include <sys/systm.h>
+#else
+#include <string.h>
+#endif
#include <machine/endian.h>
#include <crypto/sha2/sha2.h>