commit | 9047076564d0a097897f165a1311f35f8a2b116b | [log] [tgz] |
---|---|---|
author | Wichert Akkerman <wichert@deephackmode.org> | Wed Mar 17 00:42:25 1999 +0000 |
committer | Wichert Akkerman <wichert@deephackmode.org> | Wed Mar 17 00:42:25 1999 +0000 |
tree | e0eff19de270d4124ede1cd235ea7703187b1fea | |
parent | 5daa028ca314e4c36c1f38e0149834d9a0520128 [diff] [blame] |
sys/reg apparently only exists on i386 and m68k, so fix the test in a couple of files
diff --git a/process.c b/process.c index a7b62f4..1eb2792 100644 --- a/process.c +++ b/process.c
@@ -44,7 +44,7 @@ #include <machine/reg.h> #endif /* SUNOS4 */ -#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 +#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 && (defined(I386) || defined(M68K)) # include <sys/reg.h> # define PTRACE_PEEKUSR PTRACE_PEEKUSER # define PTRACE_POKEUSR PTRACE_POKEUSER