diff options
author | phk <phk@FreeBSD.org> | 2002-11-01 08:56:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-11-01 08:56:39 +0000 |
commit | e7f8941120daac766326c39b1dc5bfd35f73b14e (patch) | |
tree | 96425fd61fa6b949e7b2db9e10527d1b772894b6 /sys/crypto | |
parent | 707c22856ed977c8fe8c8c4e2abc6a355f5e77a0 (diff) | |
download | FreeBSD-src-e7f8941120daac766326c39b1dc5bfd35f73b14e.zip FreeBSD-src-e7f8941120daac766326c39b1dc5bfd35f73b14e.tar.gz |
Make this compilable from userland as well.
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/sha2/sha2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/crypto/sha2/sha2.c b/sys/crypto/sha2/sha2.c index 0ae7d84..8740fbb 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> |