]> git.pld-linux.org Git - packages/valgrind.git/blob - valgrind-include_fs.patch
- missing file
[packages/valgrind.git] / valgrind-include_fs.patch
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
3 @@ -34,6 +34,11 @@
4     one. */
5  #include "vg_unsafe.h"
6  
7 +#include <linux/version.h>
8 +#ifdef LIBC_HEADERS_VERSION
9 +/* Fixed headers detected -- BLKGETSIZE definition is there */
10 +#include <linux/fs.h>
11 +#endif
12  
13  /* All system calls are channelled through here, doing two things:
14  
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
17 @@ -57,9 +57,12 @@
18  #include <stdio.h>
19  #include <sys/ipc.h>
20  #include <sys/msg.h>
21 +#include <linux/version.h>
22 +#ifndef LIBC_HEADERS_VERSION
23  #ifdef KERNEL_2_6
24  #include <linux/compiler.h>
25  #endif
26 +#endif
27  #include <asm/ipc.h>           /* for ipc_kludge */
28  #include <sys/poll.h>
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
32 @@ -50,9 +50,12 @@
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
38  #ifdef KERNEL_2_6
39  #include <linux/compiler.h> /* for __user definition */
40  #endif
41 +#endif
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 */
This page took 0.043699 seconds and 3 git commands to generate.