summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1998-01-09 00:39:10 +0000
committersef <sef@FreeBSD.org>1998-01-09 00:39:10 +0000
commit6624495c00551722e6cf6ea7d28658cd617ea055 (patch)
tree9b587e3093b26c5c0f24f3e37816d52d1e7b5a20 /usr.bin/truss
parent9a6b1478808c6a57d28b37ffb632751f71a10012 (diff)
downloadFreeBSD-src-6624495c00551722e6cf6ea7d28658cd617ea055.zip
FreeBSD-src-6624495c00551722e6cf6ea7d28658cd617ea055.tar.gz
Proper way to do the previous mis-commit. Still not quite right, because
some header files (e.g., <err.h>) include <machine/something.h>, and this will not pick up the right header files, so it may be removed eventually anyway. But some people who are not willing to build the right way apparantly want this, so this is for them.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/Makefile2
-rw-r--r--usr.bin/truss/amd64-fbsd32.c6
-rw-r--r--usr.bin/truss/amd64-linux32.c6
-rw-r--r--usr.bin/truss/i386-fbsd.c6
-rw-r--r--usr.bin/truss/i386-linux.c6
5 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile
index 63172a8..61d7842 100644
--- a/usr.bin/truss/Makefile
+++ b/usr.bin/truss/Makefile
@@ -1,7 +1,7 @@
PROG= truss
SRCS= main.c setup.c i386-fbsd.c i386-linux.c \
syscalls.c linux_syscalls.h syscalls.h ioctl.c
-CFLAGS+= -I${.CURDIR} -I.
+CFLAGS+= -I${.CURDIR} -I. -I${.CUDIR}/../../sys
CLEANFILES+=i386l-syscalls.master syscalls.master linux_syscalls.h \
syscalls.h ioctl.c
diff --git a/usr.bin/truss/amd64-fbsd32.c b/usr.bin/truss/amd64-fbsd32.c
index e141e2c..1686e58 100644
--- a/usr.bin/truss/amd64-fbsd32.c
+++ b/usr.bin/truss/amd64-fbsd32.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: i386-fbsd.c,v 1.3 1998/01/05 07:30:24 charnier Exp $";
#endif /* not lint */
/*
@@ -51,8 +51,8 @@ static const char rcsid[] =
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/pioctl.h>
-#include <machine/reg.h>
-#include <machine/psl.h>
+#include <i386/include/reg.h>
+#include <i386/include/psl.h>
#include <sys/syscall.h>
#include "syscall.h"
diff --git a/usr.bin/truss/amd64-linux32.c b/usr.bin/truss/amd64-linux32.c
index 0cb7c22..4a2421e 100644
--- a/usr.bin/truss/amd64-linux32.c
+++ b/usr.bin/truss/amd64-linux32.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: i386-linux.c,v 1.3 1998/01/05 07:30:25 charnier Exp $";
#endif /* not lint */
/*
@@ -49,8 +49,8 @@ static const char rcsid[] =
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/pioctl.h>
-#include <machine/reg.h>
-#include <machine/psl.h>
+#include <i386/include/reg.h>
+#include <i386/include/psl.h>
#include "syscall.h"
diff --git a/usr.bin/truss/i386-fbsd.c b/usr.bin/truss/i386-fbsd.c
index e141e2c..1686e58 100644
--- a/usr.bin/truss/i386-fbsd.c
+++ b/usr.bin/truss/i386-fbsd.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: i386-fbsd.c,v 1.3 1998/01/05 07:30:24 charnier Exp $";
#endif /* not lint */
/*
@@ -51,8 +51,8 @@ static const char rcsid[] =
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/pioctl.h>
-#include <machine/reg.h>
-#include <machine/psl.h>
+#include <i386/include/reg.h>
+#include <i386/include/psl.h>
#include <sys/syscall.h>
#include "syscall.h"
diff --git a/usr.bin/truss/i386-linux.c b/usr.bin/truss/i386-linux.c
index 0cb7c22..4a2421e 100644
--- a/usr.bin/truss/i386-linux.c
+++ b/usr.bin/truss/i386-linux.c
@@ -31,7 +31,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: i386-linux.c,v 1.3 1998/01/05 07:30:25 charnier Exp $";
#endif /* not lint */
/*
@@ -49,8 +49,8 @@ static const char rcsid[] =
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/pioctl.h>
-#include <machine/reg.h>
-#include <machine/psl.h>
+#include <i386/include/reg.h>
+#include <i386/include/psl.h>
#include "syscall.h"
OpenPOWER on IntegriCloud