summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2003-12-27 00:16:02 +0000
committerTim Yamin <plasmaroo@gentoo.org>2003-12-27 00:16:02 +0000
commit65ab6f385183004799df21b5a670d30ebb6e2007 (patch)
treeeed297400b6ead303d478cb5ff6fdcc49ec420c2 /sys-kernel/linux-headers/files
parentChanged sparc keyword to ~sparc as there are no stable versions of mplayer fo... (diff)
downloadhistorical-65ab6f385183004799df21b5a670d30ebb6e2007.tar.gz
historical-65ab6f385183004799df21b5a670d30ebb6e2007.tar.bz2
historical-65ab6f385183004799df21b5a670d30ebb6e2007.zip
Added `sysctl.h' patch to 2.6.0 which should now remove any compilation problems with glibc.
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;