- Fix for kernel 2.6. __user need definition.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1999 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_intercept.c b/coregrind/vg_intercept.c
index 1796385..d73c20e 100644
--- a/coregrind/vg_intercept.c
+++ b/coregrind/vg_intercept.c
@@ -61,6 +61,9 @@
 #include <stdio.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>
+#ifdef KERNEL_2_6
+#include <linux/compiler.h>
+#endif
 #include <asm/ipc.h>		/* for ipc_kludge */
 #include <sys/poll.h>
 #include <sys/socket.h>