mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue