git: 762efb2d6dd6 - main - LinuxKPI: ipv6.h add missing #include

Bjoern A. Zeeb bz at FreeBSD.org
Tue May 25 18:15:06 UTC 2021


The branch main has been updated by bz:

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

commit 762efb2d6dd67f7b999d40b10d58828efb473236
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-05-25 18:01:47 +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
    MFC after:      2 weeks
    Reviewed by:    hselasky
    Differential Revision: https://reviews.freebsd.org/D30429
---
 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-main mailing list