summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-headers/files')
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.6.0-sysctl_h-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.0-sysctl_h-compat.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.0-sysctl_h-compat.patch
new file mode 100644
index 000000000000..14b248e4f314
--- /dev/null
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.0-sysctl_h-compat.patch
@@ -0,0 +1,13 @@
+--- 1/include/linux/sysctl.h 2003-05-18 22:12:39.000000000 +0200
++++ 2/include/linux/sysctl.h 2003-05-18 22:13:58.000000000 +0200
+@@ -35,6 +35,10 @@
+ the largest acceptable value for the nlen
+ member of a struct __sysctl_args to have? */
+
++#ifndef __user
++#define __user
++#endif
++
+ struct __sysctl_args {
+ int __user *name;
+ int nlen;