]> git.pld-linux.org Git - packages/valgrind.git/commitdiff
- fixed compilation on 2.6
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 8 Feb 2004 21:17:07 +0000 (21:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    valgrind-include_fs.patch -> 1.2

valgrind-include_fs.patch

index 92d15646ac1abfbaba62d0c612e499355560fc2e..c094d1a991c414991ceba7eb14499b122f932102 100644 (file)
  
  /* All system calls are channelled through here, doing two things:
  
+--- valgrind-2.1.0/coregrind/vg_intercept.c~   2003-11-20 16:20:54.000000000 +0000
++++ valgrind-2.1.0/coregrind/vg_intercept.c    2004-02-08 21:11:33.000000000 +0000
+@@ -57,9 +57,12 @@
+ #include <stdio.h>
+ #include <sys/ipc.h>
+ #include <sys/msg.h>
++#include <linux/version.h>
++#ifndef LIBC_HEADERS_VERSION
+ #ifdef KERNEL_2_6
+ #include <linux/compiler.h>
+ #endif
++#endif
+ #include <asm/ipc.h>          /* for ipc_kludge */
+ #include <sys/poll.h>
+ #include <sys/socket.h>
+--- valgrind-2.1.0/coregrind/vg_unsafe.h~      2003-11-19 22:07:14.000000000 +0000
++++ valgrind-2.1.0/coregrind/vg_unsafe.h       2004-02-08 21:15:38.000000000 +0000
+@@ -50,9 +50,12 @@
+ #include <net/if.h>       /* for struct ifreq et al */
+ #include <net/if_arp.h>   /* for struct arpreq */
+ #include <net/route.h>    /* for struct rtentry */
++#include <linux/version.h>
++#ifndef LIBC_HEADERS_VERSION
+ #ifdef KERNEL_2_6
+ #include <linux/compiler.h> /* for __user definition */
+ #endif
++#endif
+ #include <asm/ipc.h>      /* for struct ipc_kludge */
+ #include <linux/msg.h>    /* for struct msgbuf */
+ #include <linux/sem.h>    /* for struct sembuf */
This page took 0.060255 seconds and 4 git commands to generate.