|
From: Helio C. de C. <he...@co...> - 2003-11-04 12:54:29
|
CVS commit by helio: - Fix for kernel 2.6. __user need definition. M +3 -0 vg_unsafe.h 1.19 --- valgrind/coregrind/vg_unsafe.h #1.18:1.19 @@ -51,4 +51,7 @@ #include <net/if_arp.h> /* for struct arpreq */ #include <net/route.h> /* for struct rtentry */ +#ifdef KERNEL_2_6 +#include <linux/compiler.h> /* for __user definition */ +#endif #include <asm/ipc.h> /* for struct ipc_kludge */ #include <linux/msg.h> /* for struct msgbuf */ |