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:
parent
e4b16f2fb1
commit
5c7ef43e96
@ -29,8 +29,10 @@
|
|||||||
#ifndef _SYS_KTLS_H_
|
#ifndef _SYS_KTLS_H_
|
||||||
#define _SYS_KTLS_H_
|
#define _SYS_KTLS_H_
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
#include <sys/refcount.h>
|
#include <sys/refcount.h>
|
||||||
#include <sys/_task.h>
|
#include <sys/_task.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct tls_record_layer {
|
struct tls_record_layer {
|
||||||
uint8_t tls_type;
|
uint8_t tls_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user