1 --- valgrind-2.1.0/coregrind/vg_syscalls.c~ 2003-12-12 07:46:54.000000000 +0000
2 +++ valgrind-2.1.0/coregrind/vg_syscalls.c 2004-02-08 20:09:01.000000000 +0000
7 +#include <linux/version.h>
8 +#ifdef LIBC_HEADERS_VERSION
9 +/* Fixed headers detected -- BLKGETSIZE definition is there */
10 +#include <linux/fs.h>
13 /* All system calls are channelled through here, doing two things:
15 --- valgrind-2.1.0/coregrind/vg_intercept.c~ 2003-11-20 16:20:54.000000000 +0000
16 +++ valgrind-2.1.0/coregrind/vg_intercept.c 2004-02-08 21:11:33.000000000 +0000
21 +#include <linux/version.h>
22 +#ifndef LIBC_HEADERS_VERSION
24 #include <linux/compiler.h>
27 #include <asm/ipc.h> /* for ipc_kludge */
29 #include <sys/socket.h>
30 --- valgrind-2.1.0/coregrind/vg_unsafe.h~ 2003-11-19 22:07:14.000000000 +0000
31 +++ valgrind-2.1.0/coregrind/vg_unsafe.h 2004-02-08 21:15:38.000000000 +0000
33 #include <net/if.h> /* for struct ifreq et al */
34 #include <net/if_arp.h> /* for struct arpreq */
35 #include <net/route.h> /* for struct rtentry */
36 +#include <linux/version.h>
37 +#ifndef LIBC_HEADERS_VERSION
39 #include <linux/compiler.h> /* for __user definition */
42 #include <asm/ipc.h> /* for struct ipc_kludge */
43 #include <linux/msg.h> /* for struct msgbuf */
44 #include <linux/sem.h> /* for struct sembuf */