]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
- Fix for kernel 2.6. __user need definition.
authorHelio Chissini de Castro <helio@kde.org>
Tue, 4 Nov 2003 12:33:29 +0000 (12:33 +0000)
committerHelio Chissini de Castro <helio@kde.org>
Tue, 4 Nov 2003 12:33:29 +0000 (12:33 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1999

coregrind/vg_intercept.c

index 17963853e461b78219ec5103f9580448b15aaaf3..d73c20e745d822cd77d4dc6942d5757bbd651cc1 100644 (file)
@@ -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>