summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/main.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-10-22 02:02:00 +0000
committerdes <des@FreeBSD.org>2001-10-22 02:02:00 +0000
commit18f95152649910f5d5a99303693e1e9f36eb028a (patch)
tree37d71dad68e0c2b5b64b60bbdeffa73eade242c4 /usr.bin/truss/main.c
parent095e24ea8722411d703fc3f8b9150e6078ea8e4a (diff)
downloadFreeBSD-src-18f95152649910f5d5a99303693e1e9f36eb028a.zip
FreeBSD-src-18f95152649910f5d5a99303693e1e9f36eb028a.tar.gz
#include <sys/proc.h> where needed (for the stop event definitions) and
reorder includes everywhere to conform to style(9).
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r--usr.bin/truss/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c
index 7ea0dd0..bf475b2 100644
--- a/usr.bin/truss/main.c
+++ b/usr.bin/truss/main.c
@@ -40,6 +40,11 @@ static const char rcsid[] =
* do a lot of the work :).
*/
+#include <sys/param.h>
+#include <sys/ioctl.h>
+#include <sys/pioctl.h>
+#include <sys/proc.h>
+
#include <err.h>
#include <errno.h>
#include <fcntl.h>
@@ -48,8 +53,6 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/ioctl.h>
-#include <sys/pioctl.h>
extern int setup_and_wait(char **);
extern int start_tracing(int, int);
OpenPOWER on IntegriCloud