---
 sys/vm/swap_pager.h |    3 +++
 sys/vm/vm_param.h   |    3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -67,6 +67,7 @@
 #ifndef	_VM_PARAM_
 #define	_VM_PARAM_
 
+#include <sys/types.h>
 #include <machine/vmparam.h>
 
 /*
@@ -106,7 +107,7 @@
  */
 #define XSWDEV_VERSION	1
 struct xswdev {
-	u_int	xsw_version;
+	unsigned int	xsw_version;
 	dev_t	xsw_dev;
 	int	xsw_flags;
 	int	xsw_nblks;
--- a/sys/vm/swap_pager.h
+++ b/sys/vm/swap_pager.h
@@ -38,6 +38,9 @@
 #ifndef	_VM_SWAP_PAGER_H_
 #define	_VM_SWAP_PAGER_H_ 1
 
+
+#include <sys/queue.h>
+
 typedef	int32_t	swblk_t;	/*
 				 * swap offset.  This is the type used to
 				 * address the "virtual swap device" and
