diff options
author | 2004-07-09 23:51:40 +0000 | |
---|---|---|
committer | 2004-07-09 23:51:40 +0000 | |
commit | 5dd8d5c551d7bcfe1e7296843d29ffed7b71b89a (patch) | |
tree | 48c4c8a6e9fbab7fa28b979e4e5e7f90d097c9e4 /bin/systrace | |
parent | oops committed the old version (diff) | |
download | wireguard-openbsd-5dd8d5c551d7bcfe1e7296843d29ffed7b71b89a.tar.xz wireguard-openbsd-5dd8d5c551d7bcfe1e7296843d29ffed7b71b89a.zip |
#ifdef hpux only for m68k or hppa; this needs a revisit since this shows
something flawed in the way that the emulation system calls are being
handled
Diffstat (limited to 'bin/systrace')
-rw-r--r-- | bin/systrace/openbsd-syscalls.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/systrace/openbsd-syscalls.c b/bin/systrace/openbsd-syscalls.c index a5956bf0eaf..b958e423206 100644 --- a/bin/systrace/openbsd-syscalls.c +++ b/bin/systrace/openbsd-syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openbsd-syscalls.c,v 1.27 2004/07/09 23:42:50 mickey Exp $ */ +/* $OpenBSD: openbsd-syscalls.c,v 1.28 2004/07/09 23:51:42 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -36,7 +36,9 @@ #include <compat/bsdos/bsdos_syscall.h> #include <compat/freebsd/freebsd_syscall.h> #include <compat/netbsd/netbsd_syscall.h> +#if defined(__hppa__) || defined(__m68k__) #include <compat/hpux/hpux_syscall.h> +#endif #include <compat/ibcs2/ibcs2_syscall.h> #include <compat/linux/linux_syscall.h> #include <compat/osf1/osf1_syscall.h> @@ -56,7 +58,9 @@ #include <compat/bsdos/bsdos_syscalls.c> #include <compat/freebsd/freebsd_syscalls.c> #include <compat/netbsd/netbsd_syscalls.c> +#if defined(__hppa__) || defined(__m68k__) #include <compat/hpux/hpux_syscalls.c> +#endif #include <compat/ibcs2/ibcs2_syscalls.c> #include <compat/linux/linux_syscalls.c> #include <compat/osf1/osf1_syscalls.c> @@ -94,7 +98,9 @@ struct emulation { static struct emulation emulations[] = { { "native", syscallnames, SYS_MAXSYSCALL }, { "aout", syscallnames, SYS_MAXSYSCALL }, +#if defined(__hppa__) || defined(__m68k__) { "hpux", hpux_syscallnames, HPUX_SYS_MAXSYSCALL }, +#endif { "ibcs2", ibcs2_syscallnames, IBCS2_SYS_MAXSYSCALL }, { "linux", linux_syscallnames, LINUX_SYS_MAXSYSCALL }, { "osf1", osf1_syscallnames, OSF1_SYS_MAXSYSCALL }, |