diff options
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> |