diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-09 21:53:56 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-09 21:53:56 +0000 |
commit | 14bb70e7621ec936bf46eb767427ec66c3a77116 (patch) | |
tree | 9cff7ec071e41c34ce73ceb0e69ed51bc9e0a688 | |
parent | fc42216ac79d20922f2603b4672faeaa06a8cb4f (diff) |
better includes for syscalls from kernel
-rw-r--r-- | bin/systrace/Makefile | 4 | ||||
-rw-r--r-- | bin/systrace/openbsd-syscalls.c | 46 |
2 files changed, 25 insertions, 25 deletions
diff --git a/bin/systrace/Makefile b/bin/systrace/Makefile index 115afd556cf..205c97716de 100644 --- a/bin/systrace/Makefile +++ b/bin/systrace/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.12 2004/01/23 20:51:18 sturm Exp $ +# $OpenBSD: Makefile,v 1.13 2004/07/09 21:53:55 mickey Exp $ PROG= systrace -CFLAGS+=-I. -I${.CURDIR} +CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ -Wno-uninitialized CFLAGS+=-DYY_NO_UNPUT diff --git a/bin/systrace/openbsd-syscalls.c b/bin/systrace/openbsd-syscalls.c index 4f45909a3c3..106bcc09264 100644 --- a/bin/systrace/openbsd-syscalls.c +++ b/bin/systrace/openbsd-syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openbsd-syscalls.c,v 1.25 2004/07/07 07:31:40 marius Exp $ */ +/* $OpenBSD: openbsd-syscalls.c,v 1.26 2004/07/09 21:53:55 mickey Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -33,16 +33,16 @@ #include <sys/syscall.h> -#include "../../sys/compat/bsdos/bsdos_syscall.h" -#include "../../sys/compat/freebsd/freebsd_syscall.h" -#include "../../sys/compat/netbsd/netbsd_syscall.h" -#include "../../sys/compat/hpux/hpux_syscall.h" -#include "../../sys/compat/ibcs2/ibcs2_syscall.h" -#include "../../sys/compat/linux/linux_syscall.h" -#include "../../sys/compat/osf1/osf1_syscall.h" -#include "../../sys/compat/sunos/sunos_syscall.h" -#include "../../sys/compat/svr4/svr4_syscall.h" -#include "../../sys/compat/ultrix/ultrix_syscall.h" +#include <compat/bsdos/bsdos_syscall.h> +#include <compat/freebsd/freebsd_syscall.h> +#include <compat/netbsd/netbsd_syscall.h> +#include <compat/hpux/common/hpux_syscall.h> +#include <compat/ibcs2/ibcs2_syscall.h> +#include <compat/linux/linux_syscall.h> +#include <compat/osf1/osf1_syscall.h> +#include <compat/sunos/sunos_syscall.h> +#include <compat/svr4/svr4_syscall.h> +#include <compat/ultrix/ultrix_syscall.h> #define KTRACE #define NFSCLIENT @@ -51,18 +51,18 @@ #define SYSVMSG #define SYSVSHM #define LFS -#include "../../sys/kern/syscalls.c" - -#include "../../sys/compat/bsdos/bsdos_syscalls.c" -#include "../../sys/compat/freebsd/freebsd_syscalls.c" -#include "../../sys/compat/netbsd/netbsd_syscalls.c" -#include "../../sys/compat/hpux/hpux_syscalls.c" -#include "../../sys/compat/ibcs2/ibcs2_syscalls.c" -#include "../../sys/compat/linux/linux_syscalls.c" -#include "../../sys/compat/osf1/osf1_syscalls.c" -#include "../../sys/compat/sunos/sunos_syscalls.c" -#include "../../sys/compat/svr4/svr4_syscalls.c" -#include "../../sys/compat/ultrix/ultrix_syscalls.c" +#include <kern/syscalls.c> + +#include <compat/bsdos/bsdos_syscalls.c> +#include <compat/freebsd/freebsd_syscalls.c> +#include <compat/netbsd/netbsd_syscalls.c> +#include <compat/hpux/common/hpux_syscalls.c> +#include <compat/ibcs2/ibcs2_syscalls.c> +#include <compat/linux/linux_syscalls.c> +#include <compat/osf1/osf1_syscalls.c> +#include <compat/sunos/sunos_syscalls.c> +#include <compat/svr4/svr4_syscalls.c> +#include <compat/ultrix/ultrix_syscalls.c> #undef KTRACE #undef NFSCLIENT #undef NFSSERVER |