The branch main has been updated by manu:

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

commit 6d3d5653168b6c122a4858357f74dafc06e4e4ef
Author:     Emmanuel Vadot <[email protected]>
AuthorDate: 2022-08-09 13:23:50 +0000
Commit:     Emmanuel Vadot <[email protected]>
CommitDate: 2022-08-18 07:46:50 +0000

    linuxkpi: swap.h: Fix include
    
    Add needed includes so we can use it.
    
    Reviewed by:    bz
    Fixes:  c3f4f28c63da ("linuxkpi: Add some basic swap functions")
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D36109
---
 sys/compat/linuxkpi/common/include/linux/swap.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/swap.h 
b/sys/compat/linuxkpi/common/include/linux/swap.h
index a080895bed98..600707524d86 100644
--- a/sys/compat/linuxkpi/common/include/linux/swap.h
+++ b/sys/compat/linuxkpi/common/include/linux/swap.h
@@ -29,6 +29,13 @@
 #ifndef        _LINUXKPI_LINUX_SWAP_H_
 #define        _LINUXKPI_LINUX_SWAP_H_
 
+#include <sys/param.h>
+#include <sys/domainset.h>
+#include <sys/queue.h>
+#include <sys/proc.h>
+#include <sys/pcpu.h>
+
+#include <vm/vm.h>
 #include <vm/swap_pager.h>
 #include <vm/vm_pageout.h>
 

Reply via email to