diff options
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/machine.c | 5 | ||||
-rw-r--r-- | usr.bin/top/utils.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 44d0e1ebe3a..fc87693b614 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machine.c,v 1.80 2014/09/17 01:56:54 dlg Exp $ */ +/* $OpenBSD: machine.c,v 1.81 2015/01/16 06:40:13 deraadt Exp $ */ /*- * Copyright (c) 1994 Thorsten Lockert <tholo@sigmasoft.com> @@ -33,8 +33,9 @@ * Patch for new swapctl(2) by Tobias Weingartner <weingart@openbsd.org> */ +#include <sys/param.h> /* DEV_BSIZE MAXCOMLEN PZERO */ #include <sys/types.h> -#include <sys/param.h> +#include <sys/signal.h> #include <sys/mount.h> #include <sys/proc.h> #include <sys/sched.h> diff --git a/usr.bin/top/utils.c b/usr.bin/top/utils.c index 3eaef986555..7e33cdead4a 100644 --- a/usr.bin/top/utils.c +++ b/usr.bin/top/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.24 2013/04/02 06:04:50 guenther Exp $ */ +/* $OpenBSD: utils.c,v 1.25 2015/01/16 06:40:13 deraadt Exp $ */ /* * Top users/processes display for Unix @@ -32,13 +32,14 @@ * This file contains various handy utilities used by top. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/sysctl.h> #include <err.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> +#include <limits.h> #include "top.h" #include "machine.h" |