git: deb7fa19a7b0 - stable/13 - LinuxKPI: ipv6.h add missing #include

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 18 00:36:25 UTC 2021


The branch stable/13 has been updated by bz:

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

commit deb7fa19a7b0d703dbe9c2d0aa4505f6c46e4e69
Author:     Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-05-24 18:21:55 +0000
Commit:     Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-07-18 00:35:01 +0000

    LinuxKPI: ipv6.h add missing #include
    
    Include linux/bitops.h for a definition of BITS_PER_LONG so that this
    file can be used independently.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    hselasky
    Differential Revision: https://reviews.freebsd.org/D30429
    
    (cherry picked from commit 762efb2d6dd67f7b999d40b10d58828efb473236)
---
 sys/compat/linuxkpi/common/include/net/ipv6.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/net/ipv6.h b/sys/compat/linuxkpi/common/include/net/ipv6.h
index 3eb6051035af..37c30ed6e793 100644
--- a/sys/compat/linuxkpi/common/include/net/ipv6.h
+++ b/sys/compat/linuxkpi/common/include/net/ipv6.h
@@ -34,6 +34,7 @@
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <linux/types.h>
+#include <linux/bitops.h>
 
 #define	IPV6_DEFAULT_HOPLIMIT 64
 


More information about the dev-commits-src-all mailing list