git: 4ddc0079eab3 - main - LinuxKPI: ip.h add #include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jan 2022 01:07:20 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=4ddc0079eab3633aa8370eeec9e37b3796cc88bd
commit 4ddc0079eab3633aa8370eeec9e37b3796cc88bd
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-01-09 00:57:13 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-01-09 00:57:13 +0000
LinuxKPI: ip.h add #include
Also include netinet/in.h so that in_addr in known for ip.h.
Found by compiling a new piece of code which complained.
MFC after: 3 days
---
sys/compat/linuxkpi/common/include/linux/ip.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/ip.h b/sys/compat/linuxkpi/common/include/linux/ip.h
index 3507c6fe9b97..894e081b14ab 100644
--- a/sys/compat/linuxkpi/common/include/linux/ip.h
+++ b/sys/compat/linuxkpi/common/include/linux/ip.h
@@ -35,6 +35,7 @@
#include <sys/types.h>
+#include <netinet/in.h>
#include <netinet/ip.h>
#include <machine/in_cksum.h>