aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-04-04 21:19:48 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-04-04 21:19:48 +0000
commit426494536e36762242e1e977fd33b4b0c11c96c9 (patch)
treef2255e35ba487cd98c7dfd3f8fc3f8a85ce64a38 /usr.bin/top/machine.c
parenta5c7ea5b9e6fa9323b998013d0649dc60fd89102 (diff)
downloadsrc-426494536e36762242e1e977fd33b4b0c11c96c9.tar.gz
src-426494536e36762242e1e977fd33b4b0c11c96c9.zip
Include <string.h> and <strings.h> for various functions.
Notes
Notes: svn path=/head/; revision=144636
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 b41e4372e374..44b04701e61e 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"