diff -rc valgrind-orig/coregrind/vg_unsafe.h valgrind-2.2.0/coregrind/vg_unsafe.h *** valgrind-orig/coregrind/vg_unsafe.h 2004-08-29 23:02:28.000000000 +0200 --- valgrind-2.2.0/coregrind/vg_unsafe.h 2005-02-23 21:39:25.000000000 +0100 *************** *** 31,36 **** --- 31,40 ---- */ + #ifndef pgoff_t + #define pgoff_t unsigned long + #endif + /* These includes are only used for making sense of the args for system calls. */ #include "vg_unistd.h" /* for system call numbers */ *************** *** 47,53 **** #include /* for struct msghdr */ #include /* for SIOCOUTQ */ #include /* for sockaddr_un */ ! #include /* for struct ifreq et al */ #include /* for struct arpreq */ #include /* for struct rtentry */ #ifdef HAVE_LINUX_COMPILER_H --- 51,58 ---- #include /* for struct msghdr */ #include /* for SIOCOUTQ */ #include /* for sockaddr_un */ ! /* hack - should be fixed in CVS */ ! //#include /* for struct ifreq et al */ #include /* for struct arpreq */ #include /* for struct rtentry */ #ifdef HAVE_LINUX_COMPILER_H