From 00958cb0de4484a696b0519b00bacbc420e6d100 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Apr 2004 18:12:31 +0000 Subject: [PATCH] Cope with AT_xCACHEBSIZE not being defined, which they aren't on systems with 2.2 kernels and, it seems, on some systems with 2.4 kernels. CCMAIL: 79179-done@bugs.kde.org git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2384 --- coregrind/vg_main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c index 9da5b98d27..c8cfcfaf4d 100644 --- a/coregrind/vg_main.c +++ b/coregrind/vg_main.c @@ -50,6 +50,18 @@ #include #include +#ifndef AT_DCACHEBSIZE +#define AT_DCACHEBSIZE 19 +#endif /* AT_DCACHEBSIZE */ + +#ifndef AT_ICACHEBSIZE +#define AT_ICACHEBSIZE 20 +#endif /* AT_ICACHEBSIZE */ + +#ifndef AT_UCACHEBSIZE +#define AT_UCACHEBSIZE 21 +#endif /* AT_UCACHEBSIZE */ + #ifndef AT_SYSINFO #define AT_SYSINFO 32 #endif /* AT_SYSINFO */ -- 2.47.2