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/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