aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/ktls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/ktls.h b/sys/sys/ktls.h
index 3c43a23af04f..bf1e66fab027 100644
--- a/sys/sys/ktls.h
+++ b/sys/sys/ktls.h
@@ -29,8 +29,10 @@
#ifndef _SYS_KTLS_H_
#define _SYS_KTLS_H_
+#ifdef _KERNEL
#include <sys/refcount.h>
#include <sys/_task.h>
+#endif
struct tls_record_layer {
uint8_t tls_type;