The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5c7ef43e9625528da93b308a97aab0858f7eaec6

commit 5c7ef43e9625528da93b308a97aab0858f7eaec6
Author:     Mark Johnston <[email protected]>
AuthorDate: 2021-05-22 16:12:19 +0000
Commit:     Mark Johnston <[email protected]>
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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to