summaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-21 01:40:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-21 01:40:26 +0000
commit1534bb5e4074929a07f1fcc1195962967d5508ce (patch)
tree81d07eb491e2cc01134d574bdb6da9a6ffa56bf8 /usr.bin/top
parent0e4fd55dc208bc4388e93e9803a984f9f4e11d12 (diff)
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index a99a0330b4b..2e09df9bf5c 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.c,v 1.50 2005/12/04 23:10:06 tedu Exp $ */
+/* $OpenBSD: machine.c,v 1.51 2005/12/21 01:40:24 millert Exp $ */
/*-
* Copyright (c) 1994 Thorsten Lockert <tholo@sigmasoft.com>
@@ -43,7 +43,6 @@
#include <err.h>
#include <math.h>
#include <unistd.h>
-#include <sys/errno.h>
#include <sys/sysctl.h>
#include <sys/dir.h>
#include <sys/dkstat.h>
@@ -52,6 +51,7 @@
#include <sys/resource.h>
#include <sys/swap.h>
#include <err.h>
+#include <errno.h>
#include "top.h"
#include "display.h"