summaryrefslogtreecommitdiffstats
path: root/sys/crypto/sha2/sha256c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/crypto/sha2/sha256c.c')
-rw-r--r--sys/crypto/sha2/sha256c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/crypto/sha2/sha256c.c b/sys/crypto/sha2/sha256c.c
index 76cec8e..9c666df 100644
--- a/sys/crypto/sha2/sha256c.c
+++ b/sys/crypto/sha2/sha256c.c
@@ -30,7 +30,11 @@ __FBSDID("$FreeBSD$");
#include <sys/endian.h>
#include <sys/types.h>
+#ifdef _KERNEL
+#include <sys/systm.h>
+#else
#include <string.h>
+#endif
#include "sha256.h"
OpenPOWER on IntegriCloud