|
From: Jeroen N. W. <jn...@xs...> - 2005-05-05 09:17:06
|
> While building valgrind-cvs on a Pentium III in debian/sarge (a.k.a. > debian/testing), memcheck/tests/scalar.c fails to compile because of > "/usr/include/asm/ipc.h:10: error: field `__user' has incomplete type". > This can be fixed by removing the #include <asm/ipc.h>. The same problem and fix apply to valgrind-svn, file memcheck/tests/x86/scalar.c. Regards, Jeroen Index: memcheck/tests/x86/scalar.c =================================================================== --- memcheck/tests/x86/scalar.c (revision 3623) +++ memcheck/tests/x86/scalar.c (working copy) @@ -14,7 +14,6 @@ // PRE_MEM_READ/PRE_MEM_WRITE calls. (Note that Memcheck and Addrcheck will // always issue an error message immediately before these seg faults occur). -#include <asm/ipc.h> #include <sched.h> #include <signal.h> |