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
diff --git a/signal.c b/signal.c
index baa3947..5860bf9 100644
--- a/signal.c
+++ b/signal.c
@@ -39,7 +39,7 @@
 #include <signal.h>
 #include <sys/user.h>
 #include <fcntl.h>
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1
+#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 && (defined(I386) || defined(M68K))
 # include <sys/reg.h>
 #endif
 
diff --git a/syscall.c b/syscall.c
index 91bdd8b..3d9ee95 100644
--- a/syscall.c
+++ b/syscall.c
@@ -37,7 +37,7 @@
 #include <sys/user.h>
 #include <sys/syscall.h>
 #include <sys/param.h>
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1
+#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 && (defined(I386) || defined(M68K))
 # include <sys/reg.h>
 #endif
 
diff --git a/util.c b/util.c
index 5611f82..93b3c41 100644
--- a/util.c
+++ b/util.c
@@ -39,7 +39,7 @@
 #include <a.out.h>
 #include <link.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
 #endif