summaryrefslogtreecommitdiff
blob: 72a8232f1532176f7686d7a2957d85dfe419ae29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: linux-2.6.18/include/linux/vserver/debug_cmd.h
===================================================================
--- linux-2.6.18.orig/include/linux/vserver/debug_cmd.h
+++ linux-2.6.18/include/linux/vserver/debug_cmd.h
@@ -26,6 +26,8 @@ struct  vcmd_read_monitor_v0 {
 
 #ifdef	CONFIG_COMPAT
 
+#include <asm/compat.h>
+
 struct  vcmd_read_history_v0_x32 {
 	uint32_t index;
 	uint32_t count;
Index: linux-2.6.18/include/linux/vserver/dlimit_cmd.h
===================================================================
--- linux-2.6.18.orig/include/linux/vserver/dlimit_cmd.h
+++ linux-2.6.18/include/linux/vserver/dlimit_cmd.h
@@ -33,6 +33,8 @@ struct	vcmd_ctx_dlimit_v0 {
 
 #ifdef	CONFIG_COMPAT
 
+#include <asm/compat.h>
+
 struct	vcmd_ctx_dlimit_base_v0_x32 {
 	compat_uptr_t name_ptr;
 	uint32_t flags;
Index: linux-2.6.18/include/linux/vserver/inode_cmd.h
===================================================================
--- linux-2.6.18.orig/include/linux/vserver/inode_cmd.h
+++ linux-2.6.18/include/linux/vserver/inode_cmd.h
@@ -31,6 +31,8 @@ struct	vcmd_ctx_iattr_v1 {
 
 #ifdef	CONFIG_COMPAT
 
+#include <asm/compat.h>
+
 struct	vcmd_ctx_iattr_v1_x32 {
 	compat_uptr_t name_ptr;
 	uint32_t xid;