Date: Sat, 22 May 2021 16:17:51 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 5c7ef43e9625 - main - ktls.h: Guard includes behind _KERNEL Message-ID: <202105221617.14MGHpbZ031582@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=5c7ef43e9625528da93b308a97aab0858f7eaec6 commit 5c7ef43e9625528da93b308a97aab0858f7eaec6 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-05-22 16:12:19 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-05-22 16:12:19 +0000 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 --- sys/sys/ktls.h | 2 ++ 1 file changed, 2 insertions(+) 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105221617.14MGHpbZ031582>