ktls.h: Guard includes behind _KERNEL

These are not needed when including ktls.h to get sockopt definitions.

Reviewed by:	gallatin, jhb
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30392
This commit is contained in:
Mark Johnston 2021-05-22 12:12:19 -04:00
parent e4b16f2fb1
commit 5c7ef43e96

View File

@ -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;