summaryrefslogtreecommitdiffstats
path: root/usr.bin/top/machine.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-04 21:19:48 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-04 21:19:48 +0000
commit7d745ab8664182cd756c16538844d587ed753eb9 (patch)
treef2255e35ba487cd98c7dfd3f8fc3f8a85ce64a38 /usr.bin/top/machine.c
parent13114caff8b9cffc7ba7953266a7a9209358f705 (diff)
downloadFreeBSD-src-7d745ab8664182cd756c16538844d587ed753eb9.zip
FreeBSD-src-7d745ab8664182cd756c16538844d587ed753eb9.tar.gz
Include <string.h> and <strings.h> for various functions.
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r--usr.bin/top/machine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index b41e437..44b0470 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -42,6 +42,8 @@
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
+#include <strings.h>
#include <unistd.h>
#include "top.h"
OpenPOWER on IntegriCloud