summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-09 21:52:22 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-09 21:52:22 +0000
commitfc42216ac79d20922f2603b4672faeaa06a8cb4f (patch)
tree51a2eab41839e73363f4a910cf57deb143c7a72f /usr.bin
parent46bbc42a9150e830f38932f34eca82df6496ba66 (diff)
better includes for syscalls from kernel
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/Makefile4
-rw-r--r--usr.bin/kdump/kdump.c48
2 files changed, 26 insertions, 26 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile
index 7f027ae69ed..5cea38ada40 100644
--- a/usr.bin/kdump/Makefile
+++ b/usr.bin/kdump/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.9 2004/06/07 20:36:07 mickey Exp $
+# $OpenBSD: Makefile,v 1.10 2004/07/09 21:52:21 mickey Exp $
LDSTATIC=${STATIC}
PROG= kdump
-CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}
+CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../../sys
SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 349cfc111ec..f193a0f1b52 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.24 2004/03/04 20:39:27 miod Exp $ */
+/* $OpenBSD: kdump.c,v 1.25 2004/07/09 21:52:21 mickey Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#endif
-static char *rcsid = "$OpenBSD: kdump.c,v 1.24 2004/03/04 20:39:27 miod Exp $";
+static char *rcsid = "$OpenBSD: kdump.c,v 1.25 2004/07/09 21:52:21 mickey Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -73,16 +73,16 @@ pid_t pid = -1;
#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/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 PTRACE
@@ -93,18 +93,18 @@ pid_t pid = -1;
#define SYSVSHM
#define LFS
#define UFS_EXTATTR
-#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/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 PTRACE
#undef NFSCLIENT